Template:Def: Difference between revisions

From Citizendium
Jump to navigation Jump to search
imported>Caesar Schinas
(Allow usage without arguments for definition of self.)
mNo edit summary
 
(One intermediate revision by one other user not shown)
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}}|([https://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==

Latest revision as of 07:50, 15 October 2024

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)