Template:R: Difference between revisions
Jump to navigation
Jump to search
imported>Chris Day (try short version) |
imported>Chris Day No edit summary |
||
Line 17: | Line 17: | ||
|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]]</noinclude> | This template is used on [[CZ:Related Articles]] pages. For full documentation see [[Template:R/Doc]] | ||
==Code== | |||
To add definition | |||
<pre> | |||
{{ {{#ifexist: Template:Def {{{1}}} | |||
|{{#ifexist: {{{1|}}}/Definition | |||
|Rpl def1 | |||
|Rpl def2}} | |||
|{{#ifexist: {{{1|}}}/Definition | |||
|Rpl def1 | |||
|Rpl def3}} }}|1={{{1|}}}|2={{{2|}}} }} | |||
</pre> | |||
===Rpl def1=== | |||
<pre> | |||
{{#ifexist: {{{1|}}} (disambiguation) | |||
|''<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>'' | |||
|{{:{{{1}}}/Definition}} <span class="plainlinks" style="font-size:0.8em;">[<nowiki></nowiki>[http://en.citizendium.org/wiki?title={{urlencode:{{{1}}}}}/Definition&action=edit e]<nowiki></nowiki>]</span>}} | |||
</pre> | |||
===Rpl def2=== | |||
<pre> | |||
{{def {{{1}}}}} <font size=1>[<nowiki></nowiki>[[Template:Def {{{1}}}|e]]<nowiki></nowiki>]</font> | |||
</pre> | |||
===Rpl def3=== | |||
<pre> | |||
[http://en.citizendium.org/wiki?action=edit&preload=Template%3ADef_preload&title={{anchorencode:{{{1}}}}}/Definition ''<font color=#666666>Add brief definition</font>''] | |||
</pre> | |||
</noinclude> |
Revision as of 13:00, 22 May 2008
This template is used on CZ:Related Articles pages. For full documentation see Template:R/Doc
Code
To add definition
{{ {{#ifexist: Template:Def {{{1}}} |{{#ifexist: {{{1|}}}/Definition |Rpl def1 |Rpl def2}} |{{#ifexist: {{{1|}}}/Definition |Rpl def1 |Rpl def3}} }}|1={{{1|}}}|2={{{2|}}} }}
Rpl def1
{{#ifexist: {{{1|}}} (disambiguation) |''<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>'' |{{:{{{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
{{def {{{1}}}}} <font size=1>[[[Template:Def {{{1}}}|e]]]</font>
Rpl def3
[http://en.citizendium.org/wiki?action=edit&preload=Template%3ADef_preload&title={{anchorencode:{{{1}}}}}/Definition ''<font color=#666666>Add brief definition</font>'']