Difference between revisions of "Template:TopicSidebar"

From Pirate Party Belgium
Jump to: navigation, search
m
(generic link instead of basictext)
Line 30: Line 30:
 
{{!}} {{#arraymap:{{{related}}}|,|x|[[Related to::x|{{#show: x | ?Has title | default = x }}]]|<br />}}
 
{{!}} {{#arraymap:{{{related}}}|,|x|[[Related to::x|{{#show: x | ?Has title | default = x }}]]|<br />}}
 
{{!}}- }}
 
{{!}}- }}
{{#if: {{{discussion|}}}{{{basictext|}}} |
+
{{#if: {{{discussion|}}}{{{link|}}} |
 
{{!}} style="padding:0;" colspan=2 {{!}}
 
{{!}} style="padding:0;" colspan=2 {{!}}
 
{{{!}} cellspacing="0" width="100%"
 
{{{!}} cellspacing="0" width="100%"
{{#if: {{{basictext|}}} |
+
{{#if: {{{link|}}} |
{{!}} style="text-align:center;{{#if: {{{discussion|}}} | width:50%; }}" {{#if: {{{discussion|}}} | | colspan=2 }} {{!}} [{{{basictext}}} Basic Text]
+
{{!}} style="text-align:center;{{#if: {{{discussion|}}} | width:50%; }}" {{#if: {{{discussion|}}} | | colspan=2 }} {{!}} {{{link}}}
 
}}
 
}}
 
{{#if: {{{discussion|}}} |
 
{{#if: {{{discussion|}}} |
{{!}} style="text-align:center;{{#if: {{{basictext|}}} | width:50%; }}" {{#if: {{{basictext|}}} | | colspan=2 }} {{!}} [{{{discussion}}} Discussion]
+
{{!}} style="text-align:center;{{#if: {{{link|}}} | width:50%; }}" {{#if: {{{link|}}} | | colspan=2 }} {{!}} [{{{discussion}}} Discussion]
 
}}
 
}}
 
{{!}}} }}
 
{{!}}} }}
Line 54: Line 54:
 
| parent = Father Topic, Mother Topic, Uncle Topic
 
| parent = Father Topic, Mother Topic, Uncle Topic
 
| related = Sister Topic, Brother-in-Law Topic
 
| related = Sister Topic, Brother-in-Law Topic
| basictext = https://pirateparty.be/basic-text
+
| link = [[Basic Text]]
 
| discussion = https://loomio.org
 
| discussion = https://loomio.org
 
| nocat = true
 
| nocat = true
Line 65: Line 65:
 
| parent = Father Topic, Mother Topic, Uncle Topic
 
| parent = Father Topic, Mother Topic, Uncle Topic
 
| related = Sister Topic, Brother-in-Law Topic
 
| related = Sister Topic, Brother-in-Law Topic
| basictext = https://pirateparty.be/basic-text
+
| link = [[Basic Text]]
 
| discussion = https://loomio.org
 
| discussion = https://loomio.org
 
}}</nowiki></noinclude>
 
}}</nowiki></noinclude>

Revision as of 01:04, 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
}}