Difference between revisions of "Template:TopicSidebar"

From Pirate Party Belgium
Jump to: navigation, search
(size of the image)
Line 9: Line 9:
 
{{!}} {{#arraymap:{{{parent}}}|,|x|[[Has parent::x]]|<br />}}
 
{{!}} {{#arraymap:{{{parent}}}|,|x|[[Has parent::x]]|<br />}}
 
{{!}}- }}
 
{{!}}- }}
 +
{{#if: {{{title|}}} |
 +
{{#ask: [[Category:Topic]] [[Has parent::{{PAGENAME}}]]
 +
  | ?Has title
 +
  | intro =! Children
 +
{{!}}
 +
  | outro =<nowiki />
 +
{{!}}-
 +
  | sep = <br />
 +
  | template = NamedLink
 +
  | link = none
 +
  | format = list
 +
  }}
 +
}}
 
{{#if: {{{related|}}} |
 
{{#if: {{{related|}}} |
 
! See also
 
! See also

Revision as of 20:16, 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
}}