Template:TopicSidebar: Difference between revisions
Jump to navigation
Jump to search
(generic link instead of basictext) |
m (use ShowTitle template) |
||
| Line 11: | Line 11: | ||
{{#if: {{{parent|}}} | | {{#if: {{{parent|}}} | | ||
! Parents | ! Parents | ||
{{!}} {{#arraymap:{{{parent}}}|,|x|[[Has parent::x|{{ | {{!}} {{#arraymap:{{{parent}}}|,|x|[[Has parent::x|{{ShowTitle|x}}]]|<br />}} | ||
{{!}}- }} | {{!}}- }} | ||
{{#if: {{{title|}}} | | {{#if: {{{title|}}} | | ||
{{#ask: [[Category:Topic]] [[Has parent::{{PAGENAME}}]] | {{#ask: [[Category:Topic]] [[Has parent::{{PAGENAME}}]] | ||
| ?Has title | | ?Has title | ||
| intro =! Subtopics | | intro =! Subtopics | ||
| Line 28: | Line 28: | ||
{{#if: {{{related|}}} | | {{#if: {{{related|}}} | | ||
! See also | ! See also | ||
{{!}} {{#arraymap:{{{related}}}|,|x|[[Related to::x|{{ | {{!}} {{#arraymap:{{{related}}}|,|x|[[Related to::x|{{ShowTitle|x}}]]|<br />}} | ||
{{!}}- }} | {{!}}- }} | ||
{{#if: {{{discussion|}}}{{{link|}}} | | {{#if: {{{discussion|}}}{{{link|}}} | | ||
Revision as of 08:00, 25 September 2017
| |||
| Parents | Father Topic Mother Topic Uncle Topic | ||
|---|---|---|---|
| See also | Sister Topic Brother-in-Law Topic | ||
| |||
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
}}
