Template:Subconcept: Difference between revisions

From Elanthipedia
Jump to navigation Jump to search
No edit summary
No edit summary
 
(37 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>{| class="wikitable" style="background-color: #f2f2f2;" width="100%"
<includeonly>{{#if:{{{1|}}}|[[Parent concept is::Concept:{{{1}}}| ]]|}}</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.
*Allow variable to be delimited list for sub-concept pages that belong to more than one concept page.


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

Latest revision as of 06: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