Template:DefineConcept: Difference between revisions
From Atomix
No edit summary |
mNo edit summary |
||
Line 1: | Line 1: | ||
<noinclude> | <noinclude> | ||
This is the "DefineConcept" template, which | This is the "DefineConcept" template, which formats the data supplied through this [[Form:DefineConcept|form]] | ||
The page's name is the full name of the concept, while a short name (or acronym) can be provided as parameter_name. The instrument_type variable is passed using the form only to avoid creating new categories through typing mistakes. The template can be called in the following format if not using the form: | The page's name is the full name of the concept/definition, while a short name (or acronym) can be provided as the parameter_name. The instrument_type variable is passed using the form only to avoid creating new categories through typing mistakes. | ||
The template can be called in the following format if not using the form (not recommended!): | |||
<pre> | <pre> | ||
{{DefineConcept | {{DefineConcept | ||
Line 22: | Line 24: | ||
|} | |} | ||
{{#default_form:DefineConcept}} | {{#default_form:DefineConcept}} | ||
[[Category:Concept]] | |||
</includeonly> | </includeonly> | ||
{{#arraymap:{{{instrument_type|}}}|,|x|[[Category:x]]|}} | {{#arraymap:{{{instrument_type|}}}|,|x|[[Category:x]]|}} | ||
Revision as of 01:07, 3 May 2021
This is the "DefineConcept" template, which formats the data supplied through this form
The page's name is the full name of the concept/definition, while a short name (or acronym) can be provided as the parameter_name. The instrument_type variable is passed using the form only to avoid creating new categories through typing mistakes.
The template can be called in the following format if not using the form (not recommended!):
{{DefineConcept |parameter_name= |description= }}
Edit the page to see the template text.