Template:Def: Difference between revisions

From Citizendium
Jump to navigation Jump to search
imported>Chris Day
No edit summary
mNo edit summary
 
(3 intermediate revisions by 3 users not shown)
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}}|([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 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==
<code><nowiki>"{{Def|Biology}}"</nowiki></code> produces: "{{Def|Biology}}"
<code><nowiki>* "{{Def|Biology}}"</nowiki></code>
 
produces:
 
* "{{Def|Biology}}"


==If no definition exists==
==If no definition exists==

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)