Editing
Template:ISO 4217/code/doc
(section)
Jump to navigation
Jump to search
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
====Contradiction solving==== Two situations imply a contradiction: the ISO-status contradicts the entered {{para|is-obsolete}} status. This may occur when an infobox covers more than one currency. The default handling is: ''{{para|is-obsolete}}'' takes precedence. By setting {{para|1=code-priority|2={{purple|yes}}}} gives ISO code prority (result opposite). This does ''not'' resolve the contradiction. {| class="wikitable" |- ! colspan="4" | Currency is obsolete? |- ! colspan="4" | {{para|code-priority|no}} {{nobold|1=(default)}} |- ! colspan="2" rowspan="2" | ! colspan="3" | {{para|is-obsolete|T/F/unk}} |- ! T=obs{{nobold|1=<sub style="float:right;"> 01</sub>}} ! F=act{{nobold|1=<sub style="float:right;"> 02</sub>}} |- ! rowspan="3" | code<br/>{{para|1=iso-code|2=...}}<br/>→{{code|T/F/...}} |- !T=obs{{nobold|1=<sub style="float:right;"> 10</sub>}} |{{green|OBS}}<sub style="float:right;"> 11</sub> |{{nay}}→{{green|''ACT''}}<sub style="float:right;"> 12</sub> |- !F=act{{nobold|1=<sub style="float:right;"> 20</sub>}} |{{nay}}→{{green|''OBS''}}<sub style="float:right;"> 21</sub> |{{green|ACT}}<sub style="float:right;"> 22</sub> |} {| class="wikitable" |- ! colspan="2" | {{para|code-priority|yes}} |- | |{{nay}}→{{purple|''OBS''}}<sub style="float:right;"> 12</sub> |- |{{nay}}→{{purple|''ACT''}}<sub style="float:right;"> 21</sub> | |} '''Returns:''' when Obsolete, a text; when ''Active'', no text (blank). On can apply this as <code><nowiki>{{#if:{{code-is-obsolete|...}}|Obsolete|Active}}</nowiki></code>. The returntext is: :When obsolete: 1. the {{para|is-obsolete|anytext}}; 2. the {{para|withdrawal-date}}, 3. {{para|obs-text|...}}, 4. "{{code|OBS}}" :When active: 1. {{para|act-text|...}} 2. <blank> :Note that, by entering a ''blank'' {{para|obs-text|}}, the returntext ''will'' be a blank (so, same as default actual returntext!) {{para|obs-text}}, {{para|act-text}} ''overwrites''. ;In {{tlx|Infobox currency}} :For {{para|obsolete}}, {{para|obsolete}} of the infobox is used: {{para|1=obsolete|2=<nowiki>{{{obsolete|}}}</nowiki>}}
Summary:
Please note that all contributions to IDU Wiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
IDU Wiki:Copyrights
for details).
Do not submit copyrighted work without permission!
To edit this page, please answer the question that appears below (
more info
):
Who is the wiki admin
Cancel
Editing help
(opens in new window)
Navigation menu
Personal tools
Not logged in
Talk
Contributions
Create account
Log in
Namespaces
Template
Discussion
English
Views
Read
Edit source
View history
More
Search
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
Tools
What links here
Related changes
Special pages
Page information