Difference between revisions of "Template:TopicSidebar"
m |
|||
(9 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | <includeonly>{| class="pirate-sidebar" | + | <includeonly>{| class="pirate-sidebar topic" |
| style="padding:0;" colspan=2 | | | style="padding:0;" colspan=2 | | ||
{| cellspacing=0 width="100%" | {| cellspacing=0 width="100%" | ||
! class="title" | {{#if: {{{title|}}} | [[Has title::{{{title}}}]] }} | ! class="title" | {{#if: {{{title|}}} | [[Has title::{{{title}}}]] }} | ||
− | | class="icon" | [[File: | + | | class="icon" | [[File:Toicon-icon-avocado-read.svg|x24px|link=Category:Topic]] |
|} | |} | ||
|- | |- | ||
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 />}} |
{{!}}- }} | {{!}}- }} | ||
− | + | | style="padding:0;" colspan=2 | | |
− | + | {| cellspacing=0 style="width:100%;" | |
− | { | + | | style="width:50%; text-align:center;" | {{#if: {{{link|}}} |
− | + | | [[File:Toicon-icon-avocado-format.svg|x24px|link={{{link}}}]] | |
− | |||
}} | }} | ||
− | + | | style="width:50%; text-align:center;" | {{#if: {{{discussion|}}} | |
− | + | | [[File:Toicon-icon-avocado-discuss.svg|x24px|link={{{discussion}}}|Discussion|alt=Discussion]] | |
}} | }} | ||
− | + | |} | |
|}{{#if: {{{nocat|}}} | |}{{#if: {{{nocat|}}} | ||
| | | | ||
Line 46: | Line 45: | ||
| [[Category:Topic]] {{#ifeq: {{{featured|}}} | true | | [[Category:Topic]] {{#ifeq: {{{featured|}}} | true | ||
| [[Category:Featured Topic]] | | [[Category:Featured Topic]] | ||
− | }} | + | }} {{#default_form:Topic}} |
}} | }} | ||
}}</includeonly><noinclude>{{TopicSidebar | }}</includeonly><noinclude>{{TopicSidebar | ||
Line 54: | Line 53: | ||
| 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 | ||
− | | | + | | link = Basic Text |
| discussion = https://loomio.org | | discussion = https://loomio.org | ||
| nocat = true | | nocat = true | ||
Line 65: | Line 64: | ||
| 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 | ||
− | | | + | | link = Basic Text |
| discussion = https://loomio.org | | discussion = https://loomio.org | ||
}}</nowiki></noinclude> | }}</nowiki></noinclude> |
Latest revision as of 20:15, 29 October 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 }}