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
 
(8 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>
<includeonly>{{{3|* }}}{{ {{#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|}}}
</pre>
                |[[{{{1|}}}{{!}}'''''{{{1|}}}''''']]
 
                |[[{{{1|}}}]] }} : {{#ifexist: {{{1|}}}/Definition
===Control color of basename link, pipelink and ToApprove logo===
            |{{#ifexist: {{{1|}}} (disambiguation)
<pre>
                      |''[http://en.citizendium.org/wiki?title={{urlencode:{{{1|}}}}}/
<includeonly>{{{2|* }}}{{ {{#ifexist: Image:Level{{Template:{{{1|}}}/Metadata|info=status}}.jpg
Definition&action=edit&section=new&preload=Template:Preload-disambig-speedydelete <font
          |r style2
color="darkred">Definition</font>]'' and disambiguation exist at [[{{{1|}}}/Definition]] and [[{{{1|}}}
          |rpl style4}}|1={{{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>


====[[Template:R style2|R style2]]====
===Style of basename link===
<pre>
<pre>
{{ {{#ifexist: Image:Level{{Template:{{{1|}}}/Metadata|info=status}}.jpg
{{#ifexist: Image:Level{{Template:{{{1|}}}/Metadata|info=status}}.jpg
           |{{#if:{{Template:{{{1|}}}/Metadata|info=ToA editor}}
           |[[{{{1|}}}]]
                  |Approval button
          |{{#ifexist:{{{1|}}}
                  |x0 }}
          | x0}} }}[[{{{1|}}}]]
</pre>
 
====[[Template:Rpl style4|Rpl style4]]====
<pre>
{{#ifexist:{{{1|}}}
                 |[[{{{1|}}}{{!}}'''''{{{1|}}}''''']]
                 |[[{{{1|}}}{{!}}'''''{{{1|}}}''''']]
                 |[[{{{1|}}}]] }}
                 |[[{{{1|}}}]] }}
</pre>
====[[Template:Approval button|Approval button]]====
<pre>
[[Image:Approval button.png|14px]]&nbsp;
</pre>
</pre>


===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 12: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>''] }} }}