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

Content deleted Content added
No edit summary
No edit summary
Tag: Reverted
Line 1:
{{#if:{{{format|}}}
|{{#if:{{{value|}}}<!--
-->|_11.VALok_{{{value|}}}
| |71.NONEallowedOK_{{#if:{{{input-code|}}}
|_12.valBLANKsoCHECKforNONE&BADCODE_<!--
--> |{{#if:{{ISO 4217/code-none|iso-code={{{input-code|}}}}}
|_21.ZZZorNONEcheck{{#if:{{ISOStr 4217/codefind word|source=option-none|iso-codeorwords={{{input-codeformat|}}}}}
|_51.CODEisNONE>{{{input-code|}}}<_{{#if:{{Str!-- find'None' word|source=option allowed so return the input string -none|orwords={{{format|}}}}}->
|<!--CAT-->{{ISO 4217/maintenance-category|main-sort=72.NONE|template-sort=52.&#x20;ISOcat-N<nowiki>*</nowiki>}}}}<!--
|71.NONEallowedOK_{{{input-code|}}}
-->|{{{input-code|}}}<!--CAT-->{{ISO 4217/maintenance-category|main-sort=52.CODE|template-sort=52.&#x20;ISOcat-C<nowiki>*</nowiki>}}<!--
|72._NONEnotallowsTOCAT_<!--
-->{{ISO 4217/maintenance-category|main-sort=72.NONE|template-sort=52.ISOcat-N<nowiki>*</nowiki>}}<!--
-->}}
|_52.NOTnoneBADCODEtoCAT>{{{input-code|}}}<_<!--
-->{{ISO 4217/maintenance-category|main-sort=52.CODE|template-sort=52.ISOcat-C<nowiki>*</nowiki>}}<!--
-->}}
|_22.BLANKin._<!-- blank input doso return blank
-->}}}}
|{{{value|}}}<!-- no format, so return plain ok-value or blank -->