Template:Lemma: Difference between revisions
imported>Daniel Mietchen (Undo self; did not work) |
imported>Daniel Mietchen (streamlined) |
||
Line 1: | Line 1: | ||
[[Category:Lemma Article]]{{#ifeq:{{SUBPAGENAME}}|Definition | |||
|{{Def only}}[[Category:Lemma Definition Subpage]] | |||
|{{lemma-title}}{{#ifeq:{{BASEPAGENAME}}|{{PAGENAME}}||[[Category:Lemma Subpage]]}}{{#ifeq:{{SUBPAGENAME}}|Related Articles|[[Category:Lemma Related Articles Subpage]]|<span class="plainlinks" style="font-size:0.8em;">{{#ifexist:{{BASEPAGENAME}}/Related Articles| [<nowiki></nowiki>[[{{BASEPAGENAME}}/Related Articles|{{H:title|Click on the ''r'' to display related articles!|r}}]]<nowiki></nowiki>]| [<nowiki></nowiki>[http://en.citizendium.org/wiki?action=edit&preload=Template%3ARelated_Articles_start&title={{urlencode:{{BASEPAGENAME}}}}/Related_Articles <font color=#8B0541>{{H:title|Click on the ''r'' to create the Related Articles page!|r}}</font>]<nowiki></nowiki>]}}</span>}}: {{ {{#ifexist: {{BASEPAGENAME}} (disambiguation) | |||
|dabdef | |dabdef | ||
|{{#ifexist: {{BASEPAGENAME}}/Definition | |{{#ifexist: {{BASEPAGENAME}}/Definition | ||
|Rpl def1 | |Rpl def1 | ||
|Rpl def3}} }}|1={{BASEPAGENAME}} }} | |Rpl def3}} }}|1={{BASEPAGENAME}} }} | ||
<br/>{{lemma-message}} }}<noinclude>{{TlDoc}}</noinclude> |
Revision as of 15:11, 28 April 2010
Lemma [r]: Add brief definition or description
Usage
This template is used by the {{Subpages}} template. It is added to pages that belong to a Lemma Cluster, i.e. a Cluster without Metadata. The main page of a Lemma Cluster is in the class of Lemma Article, and its Subpages in Lemma Subpage. These are pages that can exist independently of an article or metadata.
This template adds a blue banner to the top of the page, alerting readers to the fact that they are not in a normal Cluster, as well as providing links to create the Metadata that makes the difference. In addition, it provides appropriate links from Lemma Subpages to the Lemma main page and displays the corresponding 'Definition' and 'Related Articles' subpages, as well as a link to check whether there are any other associated subpages.