Template:Def: Difference between revisions

From Citizendium
Jump to navigation Jump to search
imported>Caesar Schinas
(Allow usage without arguments for definition of self.)
imported>Jess Key
No edit summary
Line 1: Line 1:
<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>
<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.
This template is used to show a definition or description of a defined term, object or person as defined on the /Definition page. If you have seen this template used and wish to edit the definition that is given by it, you must go to the /Definition page of the subject that is provided. For example, to edit the definition given by <nowiki>{{Def|Biology}}</nowiki> you should edit the page [[Biology/Definition]].


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

Revision as of 13:59, 4 May 2010

This template is used to show a definition or description of a defined term, object or person as defined on the /Definition page. If you have seen this template used and wish to edit the definition that is given by it, you must go to the /Definition page of the subject that is provided. For example, to edit the definition given by {{Def|Biology}} you should edit the page Biology/Definition.

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)