Difference between revisions of "Template:TopicSidebar"

From Pirate Party Belgium
Jump to: navigation, search
Line 30: Line 30:
 
{{!}} {{#arraymap:{{{related}}}|,|x|[[Related to::x|{{ShowTitle|x}}]]|<br />}}
 
{{!}} {{#arraymap:{{{related}}}|,|x|[[Related to::x|{{ShowTitle|x}}]]|<br />}}
 
{{!}}- }}
 
{{!}}- }}
{{#if: {{{discussion|}}}{{{link|}}} |
+
| style="width:50%; text-align:center;" | {{#if: {{{link|}}} | {{{link}}} }}
{{!}} style="padding:0;" colspan=2 {{!}}
+
| style="width:50%; text-align:center;" | {{#if: {{{discussion|}}}  
{{{!}} cellspacing="0" width="100%"
+
  | [[File:Noun project 2472.svg|x20px|link={{{discussion}}}|Discussion|alt=Discussion]]
{{#if: {{{link|}}} |
 
{{!}} style="text-align:center;{{#if: {{{discussion|}}} | width:50%; }}" {{#if: {{{discussion|}}} | | colspan=2 }} {{!}} {{{link}}}
 
 
}}
 
}}
{{#if: {{{discussion|}}} |
 
{{!}} style="text-align:center;{{#if: {{{link|}}} | width:50%; }}" {{#if: {{{link|}}} | | colspan=2 }} {{!}} [[File:Noun project 2472.svg|x20px|link={{{discussion}}}|Discussion|alt=Discussion]]
 
}}
 
{{!}}} }}
 
 
|}{{#if: {{{nocat|}}}  
 
|}{{#if: {{{nocat|}}}  
 
|  
 
|  

Revision as of 14:23, 25 September 2017

Family Topic Toicon-icon-avocado-read.svg
Logo-heart 135px.png
Parents Father Topic
Mother Topic
Uncle Topic
See also Sister Topic
Brother-in-Law Topic
link=Basic Text Discussion

Usage

{{TopicSidebar
| title = Family Topic
| image = Logo-heart 135px.png
| featured = true
| parent = Father Topic, Mother Topic, Uncle Topic
| related = Sister Topic, Brother-in-Law Topic
| link = [[Basic Text]]
| discussion = https://loomio.org
}}