Content deleted Content added
No edit summary |
MusikBot II (talk | contribs) m Protected "Template:ISO 4217/code/format": High-risk template or module: 654 transclusions (more info) ([Edit=Require autoconfirmed or confirmed access] (indefinite)) |
||
(38 intermediate revisions by one other user not shown) | |||
Line 1:
-->|
|{{#if:{{{input-code|}}}<!-- input is not an ok-code, so analyse for 'None' and ISOcat
▲|#default={{{value|}}}
-->|{{#if:{{ISO 4217/code-none|iso-code={{{input-code|}}}}}<!-- check None-option:
-->|{{yesno|{{Str find word|source=option-none|orwords={{{format|}}}}}<!--
-->|yes={{{input-code|}}}<!-- 'None'=allowed so return the input string
-->|no=<!--'none' not allowed so return blank; CAT-N-->{{#if:{{{ISO4217-cat|}}}|{{ISO 4217/maintenance-category|main-sort=NONE|template-sort= ISOcat-N<nowiki>*</nowiki>}}}}}}<!--
▲-->{{#if:{{#switch:{{{value|}}}
-->|<!--bad code so return blank; CAT-C-->{{#if:{{{ISO4217-cat|}}}|{{ISO 4217/maintenance-category|main-sort=CODE|template-sort= ISOcat-C<nowiki>*</nowiki>}}}}<!--
-->}}<!--
-->|<!-- input-code=blank so no error to detect; return blank
-->
|{{{value|}}}<!-- no format, so return plain value (is an ok code OR blank) -->
|