Template:Subconcept: Difference between revisions

From Elanthipedia
Jump to navigation Jump to search
No edit summary
No edit summary
 
(35 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>{| class="wikitable" style="background-color: #f2f2f2;" width="100%"
<includeonly>{{#switch:{{{1|}}}|-|=|#default={{#arraymap:{{lc:{{{1}}}}}|,|@@@@|[[Parent concept is::@@@@| ]]| }}}}</includeonly><noinclude>
| &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; }}}}
This template is used to indicate that a concept page is a sub-concept of another page.
|}</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.
To-do:
*Include a display at the bottom of page that shows which concept pages this is a subconcept of.


==Syntax==
==Syntax==
<pre>{{Concept|Name of parent concept page}}</pre>
<pre>{{Subconcept|Names of parent concept pages}} - use ',' to separate multiple entries</pre>


{{#switch:{{{1|}}}|-|=|#default={{#arraymap:{{lc:{{{1}}}}}|,|@@@@|[[Parent concept is::@@@@| ]]| }}}}

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