Difference between revisions of "Template:TopicSidebar"

From Pirate Party Belgium
Jump to: navigation, search
(children -> subtopics)
m
Line 34: Line 34:
 
{{{!}} cellspacing="0" width="100%"
 
{{{!}} cellspacing="0" width="100%"
 
{{#if: {{{basictext|}}} |
 
{{#if: {{{basictext|}}} |
{{!}} style="text-align:center;" {{#if: {{{discussion|}}} | width="50%" | colspan=2 }} {{!}} [{{{basictext}}} Basic Text]
+
{{!}} style="text-align:center;{{#if: {{{discussion|}}} | width:50%; }}" {{#if: {{{discussion|}}} | | colspan=2 }} {{!}} [{{{basictext}}} Basic Text]
 
}}
 
}}
 
{{#if: {{{discussion|}}} |
 
{{#if: {{{discussion|}}} |
{{!}} style="text-align:center;" {{#if: {{{basictext|}}} | width="50%" | colspan=2 }} {{!}} [{{{discussion}}} Discussion]
+
{{!}} style="text-align:center;{{#if: {{{basictext|}}} | width:50%; }}" {{#if: {{{basictext|}}} | | colspan=2 }} {{!}} [{{{discussion}}} Discussion]
 
}}
 
}}
 
{{!}}} }}
 
{{!}}} }}

Revision as of 23:53, 24 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
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
| basictext = https://pirateparty.be/basic-text
| discussion = https://loomio.org
}}