Template:ISO 4217/code/format: Difference between revisions

Content deleted Content added
No edit summary
Tag: Reverted
No edit summary
Tag: Reverted
Line 2:
|{{#if:{{{value|}}}<!--
-->|{{{value|}}}
| {{#if:{{{input-code|}}}<!-- input is not an ok-code, so analyse for 'None' and ISOcat.
-->|{{#if:{{ISO 4217/code-none|iso-code={{{input-code|}}}}}<!-- check None-option:
-->|{{#if:{{Str find word|source=option-none|orwords={{{format|}}}}}<!--
-->|{{{input-code|}}}<!-- 'None' = allowed so return the input string -->
-->|<!--CAT-->{{ISO 4217/maintenance-category|main-sort=NONE|template-sort=&#x20;ISOcat-N<nowiki>*</nowiki>}}}}<!--
-->|{{{input-code|}}}<!--CAT-->{{ISO 4217/maintenance-category|main-sort=CODE|template-sort=&#x20;ISOcat-C<nowiki>*</nowiki>}}<!--
-->}}
|<!-- blank input-code=blank so return blank
-->}}}}
|{{{value|}}}<!-- no format, so return plain ok-value or(is an ok code OR blank) -->
}}