Template:R: Difference between revisions

From Citizendium
Jump to navigation Jump to search
imported>Larry Sanger
No edit summary
imported>Larry Sanger
(Added instructions)
Line 1: Line 1:
* [[{{{1}}}]]: {{def {{{1}}}}} <font size=1>[<nowiki></nowiki>[[{{{1}}}/Related Articles|r]]<nowiki></nowiki>] <font size=1>[<nowiki></nowiki>[[Template:Def {{{1}}}|e]]<nowiki></nowiki>]</font>
* [[{{{1}}}]]: {{def {{{1}}}}} <font size=1>[<nowiki></nowiki>[[{{{1}}}/Related Articles|r]]<nowiki></nowiki>] [<nowiki></nowiki>[[Template:Def {{{1}}}|e]]<nowiki></nowiki>]</font><noinclude>
 
This template is used on [[CZ:Related Articles]] pages.
 
'''Example of use:'''
 
<code><nowiki>{{r|Biology}}</nowiki></code>
 
produces:
 
{{r|Biology}}
Notice that the template produces a space after the definition.
 
'''For proper use,''' this requires a definition.
 
<code><nowiki>{{r|Foobar}}</nowiki></code>
 
produces:
 
{{r|Foobar}}
Notice that there are ''four'' links in the above output:
* "Foobar" is a link to a blank article to be titled "Foobar".
* "Template:Def Foobar" is a link to a (blank) definition page for "Foobar".  To learn what to write there, please see [[CZ:Definitions]].  Once you have written a definition, this link will disappear and the definition will appear in its place as you can see above with the definition of "Biology".
* "r" is a link to the Related Articles page for "Foobar".  If no such page exists yet, the link will be red.
* "e" is ''another'' link to a (blank) definition page for "Foobar".  But this link will not disappear.  (See the "Biology" line above again; you can click the blue "e" on that line and from there, edit the definition of "Biology".
 
</noinclude>

Revision as of 15:57, 6 May 2008

  • [[{{{1}}}]]: {{def {{{1}}}}} [[[{{{1}}}/Related Articles|r]]] [[[Template:Def {{{1}}}|e]]]

This template is used on CZ:Related Articles pages.

Example of use:

{{r|Biology}}

produces:

Notice that the template produces a space after the definition.

For proper use, this requires a definition.

{{r|Foobar}}

produces:

Notice that there are four links in the above output:

  • "Foobar" is a link to a blank article to be titled "Foobar".
  • "Template:Def Foobar" is a link to a (blank) definition page for "Foobar". To learn what to write there, please see CZ:Definitions. Once you have written a definition, this link will disappear and the definition will appear in its place as you can see above with the definition of "Biology".
  • "r" is a link to the Related Articles page for "Foobar". If no such page exists yet, the link will be red.
  • "e" is another link to a (blank) definition page for "Foobar". But this link will not disappear. (See the "Biology" line above again; you can click the blue "e" on that line and from there, edit the definition of "Biology".