Template:Subconcept: Difference between revisions

From Elanthipedia
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
<includeonly>{{#if:{{{1|}}}|[[Parent concept is::{{{1}}}| ]]|}}</includeonly><noinclude>
<includeonly>{{#switch:{{{1|}}}|-|=|#default={{#arraymap:{{lc:{{{1}}}}}|,|@@@@|[[Parent concept is::@@@@| ]]| }}}}</includeonly><noinclude>
This template is used to indicate that a concept page is a sub-concept of another page.
This template is used to indicate that a concept page is a sub-concept of another page.


To-do:
To-do:
*Include a display at the bottom of page that shows which concept pages this is a subconcept of.
*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>{{Concept|Name of parent concept page}}</pre>


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

Revision as of 03:37, 19 December 2014

This template is used to indicate that a concept page is a sub-concept of another page.

To-do:

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

Syntax

{{Concept|Name of parent concept page}}