Template:Def: Difference between revisions

From Citizendium
Jump to navigation Jump to search
imported>J. Noel Chiappa
(Demonstrate removal of line break)
imported>Caesar Schinas
(Allow usage without arguments for definition of self.)
Line 1: Line 1:
<includeonly>{{#ifexist: {{{1}}}/Definition|{{:{{{1}}}/Definition}}|([http://en.citizendium.org/wiki?action=edit&preload=Template%3ADef_preload&title={{urlencode:{{{1}}}}}/Definition  ''<font color=#666666>Add definition</font>] for [[{{{1}}}]]'')}}</includeonly><noinclude>This template is used to show a definition or description of a defined term, object or person.
<includeonly>{{#ifexist: {{{1|{{PAGENAME}}}}}/Definition|{{:{{{1|{{PAGENAME}}}}}/Definition}}|([http://en.citizendium.org/wiki?action=edit&preload=Template%3ADef_preload&title={{urlencode:{{{1|{{PAGENAME}}}}}}}/Definition  ''<font color=#666666>Add definition</font>] for [[{{{1|{{PAGENAME}}}}}]]'')}}</includeonly><noinclude>
This template is used to show a definition or description of a defined term, object or person.


==Example of use==
==Example of use==

Revision as of 08:30, 4 May 2009

This template is used to show a definition or description of a defined term, object or person.

Example of use

* "{{Def|Biology}}"

produces:

If no definition exists

If used on an entry that does not have a definition (e.g. Foobar),

{{Def|Foobar}} produces: (Add definition for Foobar)