Template:R

From Citizendium
Revision as of 10:01, 27 May 2008 by imported>Chris Day (not required now Template:def's do not exist.)
Jump to navigation Jump to search


This template is used on CZ:Related Articles pages. For full documentation see Template:R/Doc

Code

To add definition

{{ {{#ifexist: Template:Def {{{1}}}
|{{#ifexist: {{{1|}}}/Definition
        |{{#ifexist: {{{1|}}} (disambiguation)
            |Rpl def4
            |Rpl def1}}
        |{{#ifexist: {{{1|}}} (disambiguation)
            |Rpl def4
            |Rpl def2}}}}
|{{#ifexist: {{{1|}}}/Definition
        |{{#ifexist: {{{1|}}} (disambiguation)
            |Rpl def4
            |Rpl def1}}
        |{{#ifexist: {{{1|}}} (disambiguation)
            |Rpl def4
            |Rpl def3}} }} }}|1={{{1|}}}|2={{{2|}}} }}

Rpl def1

{{:{{{1}}}/Definition}} <span class="plainlinks" style="font-size:0.8em;">[
[http://en.citizendium.org/wiki?title={{urlencode:{{{1}}}}}/Definition&action=edit e]]</span>}}

Rpl def3

{{#ifexist:{{{1|}}} (disambiguation)
|Has many meanings, some of which are listed at [[{{{1}}} (disambiguation)]].
|{{#ifeq:{{{2|}}}|D
|[http://en.citizendium.org/wiki?action=edit&preload=Template%3APreload-disambig&title={{urlencode:{{{1}}}}}_(disambiguation) ''<font color=#666666>Add disambiguation page</font>'']
|[http://en.citizendium.org/wiki?action=edit&preload=Template%3ADef_preload&title={{urlencode:{{{1}}}}}/Definition ''<font color=#666666>Add brief definition</font>'']}}}}

Rpl def4

''<font color=#666666>Please do not use this term in your topic list, because we do not have a single article for it. 
Please substitute a more precise term. See </font> [[{{{1}}} (disambiguation)]] <font color=#666666>for a list of 
available, more precise, topics.</font>''