Template:DefineConcept: Difference between revisions

From Atomix
No edit summary
Removed variable categorising. Hard-coding concept category to all pages
 
(38 intermediate revisions by the same user not shown)
Line 1: Line 1:
<noinclude>
<noinclude>
This is the "DefineConcept" template. The name of the page is full name of the concept, while a short name (or acronym) can be provided as parameter_name.  
This is the "DefineConcept" template, which formats the data supplied through this [[Form:DefineConcept|form]]
It 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 form enables categorizing the pages under these two types:
* Concept (short reusable definitions)
* Fundamentals
 
The template can be called in the following format if not using the form (not recommended!):
<pre>
<pre>
{{DefineConcept
{{DefineConcept
|parameter_name=
|parameter_name=
|description=
|description=
|article_type=
}}
}}
</pre>
</pre>
Edit the page to see the template text.
 
 
 
</noinclude><includeonly>
</noinclude><includeonly>
{| class="wikitable"  
{| class="wikitable"  
|-
|-
! Definition of {{FULLPAGENAME}}
! Short definition of {{FULLPAGENAME}} {{#if: {{{parameter_name|}}} | ({{{parameter_name}}})| }}
|-
|-
| {{{description}}}
| {{{description}}}
|-
| Alternate name/symbol:  {{{parameter_name}}}
|-
| <small>This is the common definition for {{FULLPAGENAME}}, but other definitions maybe discussed within the wiki.</small>
|}
|}
<small>This is the common definition for {{FULLPAGENAME}}, but other definitions maybe discussed within the wiki.</small>
{{#default_form:DefineConcept}}
{{#default_form:DefineConcept}}
[[Category:Concept]]
{{#arraymap:{{{instrument_type|}}}|,|x|[[Category:x]]|}}
</includeonly>
</includeonly>
{{#arraymap:{{{instrument_type|}}}|,|x|[[Category:x]]|}}
[[Category:Concept]]

Latest revision as of 21:54, 13 December 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 form enables categorizing the pages under these two types:

  • Concept (short reusable definitions)
  • Fundamentals

The template can be called in the following format if not using the form (not recommended!):

{{DefineConcept
|parameter_name=
|description=
|article_type=
}}