Template:RD/doc: Difference between revisions

From Citizendium
Jump to navigation Jump to search
imported>Chris Day
No edit summary
imported>Chris Day
No edit summary
 
(One intermediate revision by the same user not shown)
Line 3: Line 3:
==Code==
==Code==
<pre>
<pre>
{{{2|* }}}{{#ifexist: Image:Level{{Template:{{{1|}}}/Metadata|info=status}}.jpg
* {{#ifexist: Image:Level{{Template:{{{1|}}}/Metadata|info=status}}.jpg
           |[[{{{1|}}}]]
           |[[{{{1|}}}]]
           |{{#ifexist:{{{1|}}}
           |{{#ifexist:{{{1|}}}

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