Template:Subconcept: Difference between revisions

From Elanthipedia
Jump to navigation Jump to search
No edit summary
No edit summary
 
(7 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>{| class="wikitable" style="background-color: #EEEEEE;" 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::@@@@| ]]| &nbsp;{{!}}&nbsp; }}}}
| &nbsp;[[:Category:Concepts|Concepts]]:&nbsp;&nbsp;{{#switch:{{{1|}}}|-|=|#default={{#arraymap:{{{1}}}|,|@@@@|[[Concept:@@@@|{{#replace:@@@@| |&nbsp;}}]][[Parent concept is::@@@@| ]]| <nowiki> </nowiki><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.

To-do:
*Fine-tune display at the bottom of page that shows which concept pages this is a subconcept of.


==Syntax==
==Syntax==

Latest revision as of 05:40, 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.

Syntax

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