Template:ReviewStage: Difference between revisions

From Atomix
mNo edit summary
No edit summary
Line 1: Line 1:
<noinclude>
<includeonly>
This is the "ReviewStage" template.
 
It should be called in the following format:
<pre>
{{ReviewStage
|instrument_type=
|toreview=
|reviewer=
|authors=
|comment=
}}
</pre>
Edit the page to see the template text.
</noinclude><includeonly>
{| class="wikitable" style="font-weight:bold;"
{| class="wikitable" style="font-weight:bold;"
|- style="font-weight:normal;"
|- style="font-weight:normal;"
Line 28: Line 16:
|}
|}


<!-- Category for toreview -->
{{#if: {{{toreview|}}} | [[Category:{{{toreview}}}]] }}
<!-- Category for instrument_type -->
{{#if: {{{instrument_type|}}} | [[Category:{{{instrument_type}}}]] }}


{{#default_form:ReviewStage}}
{{#arraymap:{{{toreview|}}}|,|x|[[Category:x]]|}}
{{#arraymap:{{{instrument_type|}}}|,|x|[[Category:x]]|}}
</includeonly>
</includeonly>
<noinclude>
This is the "ReviewStage" template.
It can be called as:
<pre>
{{ReviewStage
|instrument_type=
|toreview=
|reviewer=
|authors=
|comment=
}}
</pre>
=== Parameters ===
* <nowiki>|instrument_type=</nowiki> — Instrument type (e.g., ADV).
* <nowiki>|toreview=</nowiki> — Review status (e.g., Needs review, Reviewed).
* <nowiki>|reviewer=</nowiki> — Name(s) of reviewer(s).
* <nowiki>|authors=</nowiki> — Name(s) of author(s).
* <nowiki>|comment=</nowiki> — Any notes or comments.
=== Behavior ===
This template categorizes the page under:
* <nowiki>[[Category:instrument_type]]</nowiki>
* <nowiki>[[Category:toreview]]</nowiki>
This version does not require PageForms or Arrays and is safe for long‑term use.
</noinclude>

Revision as of 22:07, 8 July 2026


This is the "ReviewStage" template.

It can be called as:

{{ReviewStage
|instrument_type=
|toreview=
|reviewer=
|authors=
|comment=
}}

Parameters

  • |instrument_type= — Instrument type (e.g., ADV).
  • |toreview= — Review status (e.g., Needs review, Reviewed).
  • |reviewer= — Name(s) of reviewer(s).
  • |authors= — Name(s) of author(s).
  • |comment= — Any notes or comments.

Behavior

This template categorizes the page under:

  • [[Category:instrument_type]]
  • [[Category:toreview]]

This version does not require PageForms or Arrays and is safe for long‑term use.