Template:RD/doc: Difference between revisions

From Citizendium
Jump to navigation Jump to search
imported>Chris Day
imported>Chris Day
No edit summary
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
This template is used for tracking the disambiguation status of terms that could have multiple meanings. See ..........
This template is used for tracking the disambiguation status of terms that could have multiple meanings. See [[CZ:List of words with multiple uses]] for a full description and example of its usage.


==Code==
==Code==
<pre>
<pre>
{{{2|* }}}{{ {{#ifexist: Image:Level{{Template:{{{1|}}}/Metadata|info=status}}.jpg
* {{#ifexist: Image:Level{{Template:{{{1|}}}/Metadata|info=status}}.jpg
           |r style2
           |[[{{{1|}}}]]
           |rpl style4}}|1={{{1|}}}}} : {{Rpl def2|1={{{1|}}}}}
           |{{#ifexist:{{{1|}}}
                |[[{{{1|}}}{{!}}'''''{{{1|}}}''''']]
                |[[{{{1|}}}]] }} : {{#ifexist: {{{1|}}}/Definition
            |{{#ifexist: {{{1|}}} (disambiguation)
                      |''[http://en.citizendium.org/wiki?title={{urlencode:{{{1|}}}}}/
Definition&action=edit&section=new&preload=Template:Preload-disambig-speedydelete <font
color="darkred">Definition</font>]'' and disambiguation exist at [[{{{1|}}}/Definition]] and [[{{{1|}}}
(disambiguation)]]
::''Current definition is:'' {{def|{{{1}}}}}
                      |Definition 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>''].
::''Current definition is:'' {{def|{{{1}}}}} }}
            |{{#ifexist: {{{1|}}} (disambiguation)
                      |[[Image:Level0.jpg|15px]] 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>''] }} }}
</pre>
</pre>


Line 18: Line 35:


===To add definition.===
===To add definition.===
<pre>
{{Rpl def2|1={{{1|}}}}}
</pre>
====[[Template:Rpl def2|Rpl def2]]====
<pre>
<pre>
{{#ifexist: {{{1|}}}/Definition
{{#ifexist: {{{1|}}}/Definition

Latest revision as of 11:47, 25 February 2009

This template is used for tracking the disambiguation status of terms that could have multiple meanings. See CZ:List of words with multiple uses for a full description and example of its usage.

Code

* {{#ifexist: Image:Level{{Template:{{{1|}}}/Metadata|info=status}}.jpg
          |[[{{{1|}}}]]
          |{{#ifexist:{{{1|}}}
                 |[[{{{1|}}}{{!}}'''''{{{1|}}}''''']]
                 |[[{{{1|}}}]] }} : {{#ifexist: {{{1|}}}/Definition
             |{{#ifexist: {{{1|}}} (disambiguation)
                      |''[http://en.citizendium.org/wiki?title={{urlencode:{{{1|}}}}}/
Definition&action=edit&section=new&preload=Template:Preload-disambig-speedydelete <font 
color="darkred">Definition</font>]'' and disambiguation exist at [[{{{1|}}}/Definition]] and [[{{{1|}}} 
(disambiguation)]]
::''Current definition is:'' {{def|{{{1}}}}}
                      |Definition 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>''].
::''Current definition is:'' {{def|{{{1}}}}} }}
             |{{#ifexist: {{{1|}}} (disambiguation)
                      |[[Image:Level0.jpg|15px]] 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>''] }} }}

Style of basename link

{{#ifexist: Image:Level{{Template:{{{1|}}}/Metadata|info=status}}.jpg
          |[[{{{1|}}}]]
          |{{#ifexist:{{{1|}}}
                 |[[{{{1|}}}{{!}}'''''{{{1|}}}''''']]
                 |[[{{{1|}}}]] }}

To add definition.

{{#ifexist: {{{1|}}}/Definition
             |{{#ifexist: {{{1|}}} (disambiguation)
                      |''[http://en.citizendium.org/wiki?title={{urlencode:{{{1|}}}}}/
Definition&action=edit&section=new&preload=Template:Preload-disambig-speedydelete <font 
color="darkred">Definition</font>]'' and disambiguation exist at [[{{{1|}}}/Definition]] and [[{{{1|}}} 
(disambiguation)]]
::''Current definition is:'' {{def|{{{1}}}}}
                      |Definition 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>''].
::''Current definition is:'' {{def|{{{1}}}}} }}
             |{{#ifexist: {{{1|}}} (disambiguation)
                      |[[Image:Level0.jpg|15px]] 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>''] }} }}