Template:Subconcept: Difference between revisions

From Elanthipedia
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
<includeonly>{| class="wikitable" style="background-color: #f2f2f2;" width="100%"
<includeonly>{| class="wikitable" style="background-color: #f2f2f2;" width="100%"
| &nbsp;[[:Category:Concepts|Concepts]]:&nbsp;&nbsp;{{#switch:{{{1|}}}|-|=|#default={{#arraymap:{{{1}}}|,|@@@@|[[Concept:@@@@|{{#replace:@@@@| |&nbsp;}}]][[Parent concept is::@@@@| ]]| &ensp;<span style="color:#c2c2c2">{{!}}</span>&nbsp; }}}}
| &nbsp;[[:Category:Concepts|Concepts]]:&nbsp;&nbsp;{{#switch:{{{1|}}}|-|=|#default={{#arraymap:{{{1}}}|,|@@@@|[[Concept:@@@@|{{#replace:@@@@| |&nbsp;}}]][[Parent concept is::@@@@| ]]| <nowiki> </nowiki>&thinsp;<span style="color:#c2c2c2">{{!}}</span>&nbsp; }}}}
|}</includeonly><noinclude>
|}</includeonly><noinclude>
This template is used to indicate that a concept page is a sub-concept of another page. It should always be placed at the bottom of the page.
This template is used to indicate that a concept page is a sub-concept of another page. It should always be placed at the bottom of the page.

Revision as of 06:34, 19 December 2014

This template is used to indicate that a concept page is a sub-concept of another page. It should always be placed at the bottom of the page.

To-do:

  • Fine-tune display at the bottom of page that shows which concept pages this is a subconcept of.

Syntax

{{Subconcept|Names of parent concept pages}} - use ',' to separate multiple entries