Template:R: Difference between revisions

From Citizendium
Jump to navigation Jump to search
imported>Chris Day
No edit summary
imported>Chris Day
No edit summary
Line 11: Line 11:
                 |{{#if: {{{2|}}}  
                 |{{#if: {{{2|}}}  
                       |[[{{{1|}}}|{{{2|}}}]]  
                       |[[{{{1|}}}|{{{2|}}}]]  
                       |[[{{{1|}}}]] }} }} }} <span class="plainlinks" style="font-size:0.8em;">{{#ifexist:{{{1}}}/Related Articles|[<nowiki></nowiki>[[{{{1}}}/Related Articles|r]]<nowiki></nowiki>]|[<nowiki></nowiki>[http://en.citizendium.org/wiki?action=edit&preload=Template%3ARelated_Articles_start&title={{urlencode:{{{1}}}}}/Related_Articles <font color=#CA3D10>r</font>]<nowiki></nowiki>]}}</span>}}: {{#ifeq:{{{2|}}}|D
                       |[[{{{1|}}}]] }} }} }} <span class="plainlinks" style="font-size:0.8em;">{{#ifexist:{{{1}}}/Related Articles|[<nowiki></nowiki>[[{{{1}}}/Related Articles|r]]<nowiki></nowiki>]|[<nowiki></nowiki>[http://en.citizendium.org/wiki?action=edit&preload=Template%3ARelated_Articles_start&title={{urlencode:{{{1}}}}}/Related_Articles <font color=#CA3D10>r</font>]<nowiki></nowiki>]}}</span>}}: {{ {{#ifeq:{{{2|}}}|D
|{{#ifexist: {{{1|}}}/Definition
|Rpl def2
            |{{#ifexist: {{{1|}}} (disambiguation)
|{{#ifexist: {{{1|}}} (disambiguation)
                      |Definition and disambiguation exist at [[{{{1|}}}/Definition]] and [[{{{1|}}} (disambiguation)]]
:Definition is:{{:{{{1|}}}/Definition}}
                      |Definition only: exists at [[{{{1|}}}/Definition]]; need a [[{{{1|}}} (disambiguation)]] page.
:Definition is:{{:{{{1|}}}/Definition}} }}
            |{{#ifexist: {{{1|}}} (disambiguation)
                      |Disambiguation exists at [[{{{1|}}} (disambiguation)]]
                      |Need a [[{{{1|}}} (disambiguation)]] page. }} }}
|{{ {{#ifexist: {{{1|}}} (disambiguation)
         |Rpl def4
         |Rpl def4
         |{{#ifexist: {{{1|}}}/Definition
         |{{#ifexist: {{{1|}}}/Definition
             |Rpl def1
             |Rpl def1
             |Rpl def3}} }}|1={{{1|}}}|2={{{2|}}} }} }}</includeonly><noinclude>
             |Rpl def3}} }} }}|1={{{1|}}}|2={{{2|}}} }}</includeonly><noinclude>


This template is used on [[CZ:Related Articles]] pages. For full documentation see [[Template:R/Doc]]
This template is used on [[CZ:Related Articles]] pages. For full documentation see [[Template:R/Doc]]
Line 43: Line 35:
[http://en.citizendium.org/wiki?title={{urlencode:{{{1}}}}}/Definition&action=edit e]<nowiki></nowiki>]</span>}}
[http://en.citizendium.org/wiki?title={{urlencode:{{{1}}}}}/Definition&action=edit e]<nowiki></nowiki>]</span>}}
</pre>
</pre>
<!--
 
===[[Template:Rpl def2|Rpl def2]]===
===[[Template:Rpl def2|Rpl def2]]===
<pre>
<pre>
{{def {{{1}}}}} <font size=1>[<nowiki></nowiki>[[Template:Def {{{1}}}|e]]<nowiki></nowiki>]</font>
{{#ifexist: {{{1|}}}/Definition
</pre>-->
            |{{#ifexist: {{{1|}}} (disambiguation)
                      |Definition and disambiguation exist at [[{{{1|}}}/Definition]] and [[{{{1|}}} (disambiguation)]]
:Definition is:{{:{{{1|}}}/Definition}}
                      |Definition only: exists at [[{{{1|}}}/Definition]]; need a [[{{{1|}}} (disambiguation)]] page.
:Definition is:{{:{{{1|}}}/Definition}} }}
            |{{#ifexist: {{{1|}}} (disambiguation)
                      |Disambiguation exists at [[{{{1|}}} (disambiguation)]]
                      |Need a [[{{{1|}}} (disambiguation)]] page. }} }}
</pre>
===[[Template:Rpl def3|Rpl def3]]===
===[[Template:Rpl def3|Rpl def3]]===
<pre>
<pre>

Revision as of 10:37, 27 May 2008


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

Code

To add definition

{{ {{#ifexist: {{{1|}}} (disambiguation)
|Rpl def4
|{{#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:{{:{{{1|}}}/Definition}}
                      |Definition only: exists at [[{{{1|}}}/Definition]]; need a [[{{{1|}}} (disambiguation)]] page.
:Definition is:{{:{{{1|}}}/Definition}} }}
             |{{#ifexist: {{{1|}}} (disambiguation)
                      |Disambiguation exists at [[{{{1|}}} (disambiguation)]]
                      |Need a [[{{{1|}}} (disambiguation)]] page. }} }}

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