Template:R: Difference between revisions

From Citizendium
Jump to navigation Jump to search
imported>Chris Day
No edit summary
imported>Chris Day
Line 42: Line 42:
{{#ifexist: {{{1|}}}/Definition
{{#ifexist: {{{1|}}}/Definition
             |{{#ifexist: {{{1|}}} (disambiguation)
             |{{#ifexist: {{{1|}}} (disambiguation)
                       |Potentially has many meanings, some can be seen at [[{{{1|}}} (disambiguation)]]
                       |Definition and disambiguation exist at [[{{{1|}}}/Definition]] and [[{{{1|}}} (disambiguation)]]
::''Current definition is:'' {{def|{{{1}}}}}
::''Definition is:'' {{def|{{{1}}}}}
                       |Potentially has many meanings, [http://en.citizendium.org/wiki?action=edit&preload=Template%3APreload-
                       |Definition only: exists at [[{{{1|}}}/Definition]]; [http://en.citizendium.org/wiki?
disambig&title={{urlencode:{{{1}}}}}_(disambiguation) ''<font color=#666666>please add a disambiguation page.</font>''].
action=edit&preload=Template%3APreload-disambig&title={{urlencode:{{{1}}}}}_(disambiguation) ''<font  
::''Current definition is:'' {{def|{{{1}}}}} }}
color=#666666>please add a disambiguation page</font>''].
::''Definition is:'' {{def|{{{1}}}}} }}
             |{{#ifexist: {{{1|}}} (disambiguation)
             |{{#ifexist: {{{1|}}} (disambiguation)
                       |Potentially has many meanings, some can be seen at [[{{{1|}}} (disambiguation)]]
                       |Disambiguation exists at [[{{{1|}}} (disambiguation)]]
                       |Potentially has many meanings, [http://en.citizendium.org/wiki?action=edit&preload=Template%3APreload-
                       |[http://en.citizendium.org/wiki?action=edit&preload=Template%3APreload-
disambig&title={{urlencode:{{{1}}}}}_(disambiguation) ''<font color=#666666>please add a disambiguation page.</font>''] }} }}
disambig&title={{urlencode:{{{1}}}}}_(disambiguation) ''<font color=#666666>Please add a disambiguation page.</font>''] }} }}
</pre>
</pre>



Revision as of 13:36, 27 May 2008


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

Code

To add definition

{{ {{#ifeq:{{{2|}}}|D
|Rpl def2
|{{#ifexist: {{{1|}}} (disambiguation)
        |dabdef
        |{{#ifexist: {{{1|}}}/Definition
             |Rpl def1
             |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 def2

{{#ifexist: {{{1|}}}/Definition
             |{{#ifexist: {{{1|}}} (disambiguation)
                      |Definition and disambiguation exist at [[{{{1|}}}/Definition]] and [[{{{1|}}} (disambiguation)]]
::''Definition is:'' {{def|{{{1}}}}}
                      |Definition only: exists at [[{{{1|}}}/Definition]]; [http://en.citizendium.org/wiki?
action=edit&preload=Template%3APreload-disambig&title={{urlencode:{{{1}}}}}_(disambiguation) ''<font 
color=#666666>please add a disambiguation page</font>''].
::''Definition is:'' {{def|{{{1}}}}} }}
             |{{#ifexist: {{{1|}}} (disambiguation)
                      |Disambiguation exists at [[{{{1|}}} (disambiguation)]]
                      |[http://en.citizendium.org/wiki?action=edit&preload=Template%3APreload-
disambig&title={{urlencode:{{{1}}}}}_(disambiguation) ''<font color=#666666>Please add a disambiguation page.</font>''] }} }}

Rpl def3

[http://en.citizendium.org/wiki?action=edit&preload=Template%3ADef_preload&title=
{{urlencode:{{{1}}}}}/Definition ''<font color=#666666>Add brief definition or description</font>'']

dabdef

''<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>''