Changes

Jump to: navigation, search

Template:OCG-TCG card image

9,532 bytes added, 4 months ago
fix second $para_set_full "[short region] set and region prefix" query failing
{{ #vardefinevarexists: $smw || {{ #varvardefine: $smw | {{ #if: {{ #showset: }} || 1 }} }}<!-- standard implementation --> }}{{ #vardefine: $ext pagename | {{ #explode: Normalized pagename|{{PAGENAME<noinclude>:BlueEyesUltimateDragon-EN-CA.png</noinclude>}}}}}}{{ #vardefine: $name | {{{name|<noinclude>Blue-Eyes Ultimate Dragon</noinclude>}}}}}{{ #vardefine: $ext | {{ #explode: {{ #var: $pagename }} | . | -1 }}}}{{ #vardefine: $filename | {{ #explode: {{Normalized #var: $pagename|{{PAGENAME}}}} | .{{ #var: $ext }} }}
}}{{ #vardefine: $good_ext | {{ lc: {{ #var: $ext }} }}
}}{{ #vardefine: $good_ext | {{ #replace: {{ #var: $good_ext }} | jpeg | jpg }}
}}{{ #vardefine: $ns | {{NAMESPACE}}
 
}}{{ #vardefine: $fn_region | {{rg|{{ #explode: {{ #var: $filename }} | - | 2 }}}}<!-- region should be the third item in the image name -->
}}{{ #if: {{ #var: $fn_region }}
}}
}}
}}{{ #vardefine: $fn_rarity | {{rrarity|{{ #explode: {{ #var: $filename }} | - | {{ #var: $count }} }}}}
}}{{ #if: {{ #var: $fn_rarity }} | {{ #vardefine: $count | {{ #expr: {{ #var: $count }} + 1 }} }}
}}{{ #vardefine: $fn_edition | {{ #explode: {{ #var: $filename }} | - | {{ #var: $count }} }}
}}{{ #if: {{ #var: $fn_edition }} | {{ #vardefine: $count | {{ #expr: {{ #var: $count }} + 1 }} }}
}}{{ #vardefine: $fn_release | {{ #explode: {{ #var: $filename }} | - | {{ #var: $count }} }}
}}{{ #if: {{ #pos: {{ #var: $pagename }} | -OW. }} | {{ #vardefine: $fn_release | OW }}<!-- horrible dirty hardcoding, not that that's really out of line for the rest of this template -->}}{{ #if: {{ #pos: {{ #var: $pagename }} | -OP. }} | {{ #vardefine: $fn_release | OP }}<!-- ibid -->}}{{ #if: {{ #pos: {{ #var: $pagename }} | -CA. }}{{ #pos: {{ #var: $pagename }} | -CA- }} | {{ #vardefine: $fn_release | CA }}<!-- ibid -->}}{{ #vardefine: $fn_release | {{ #switch: {{ #var: $fn_release }} | OP | OW | CA | GC | CT | RP | VG | DDM | Anime | Manga | SAMPLE = {{ #var: $fn_release }} }}
}}{{ #if: {{ #var: $fn_release }} | {{ #vardefine: $count | {{ #expr: {{ #var: $count }} + 1 }} }}
}}{{ #vardefine: $fn_alt | {{ #explode: {{ #var: $filename }} | - | {{ #var: $count }} }}
}}{{ #if: {{ #var: $fn_alt }} | {{ #vardefine: $count | {{ #expr: {{ #var: $count }} + 1 }} }}}}{{ #vardefine: $fn_alt_2 | {{ #explode: {{ #var: $filename }} | - | {{ #var: $count }} }}}}{{ #if: {{ #var: $fn_alt_2 }} | {{ #vardefine: $count | {{ #expr: {{ #var: $count }} + 1 }} }}}}{{ #vardefine: $fn_alt_3 | {{ #explode: {{ #var: $filename }} | - | {{ #var: $count }} }}}}{{ #vardefine: $fn_name_set | {{ #var: $fn_name_set | {{ #explode: {{ #var: $filename }} | -{{ #var: $fn_rarity | {{ #var: $fn_edition | {{ #var: $fn_release | {{ #var: $fn_alt | {{ #var: $fn_alt_2 | {{ #var: $fn_alt_3 }} }} }} }} }} }} }} }}}}{{ #ifexpr: {{ #len: {{ #explode: {{ #var: $fn_name_set }} | - | -1 }} }} < 5 7 | {{ #vardefine: $fn_set | {{ #explode: {{ #var: $fn_name_set }} | - | -1 }} }}
}}{{ #if: {{ #var: $fn_set }}
| {{ #vardefine: $fn_name | {{ #explode: {{ #var: $fn_name_set }} | -{{ #var: $fn_set }} }} }}
| {{ #if: {{{set|}}} | {{ #if: {{ #pos: {{ #var: $fn_name_set }} | {{ uc: {{{set}}} }} }} | {{ #vardefine: $fn_name_set | {{ #replace: {{ #var: $fn_name_set }} | {{ uc: {{{set}}} }} }} }} }} }}
}}{{ #ifeq: {{ #var: $fn_name }} | {{ #var: $fn_set }} | {{ #vardefine: $fn_set }}<!-- I'm sure this will break stuff, but not doing this currently breaks a few SAMPLE images -->}}{{ #vardefine: $para_name | {{ #replace: {{{#var: $name|<noinclude>Jinzo 7</noinclude>}}} | # }}<!-- original input; should match card's page name including anything in "()" ("#" is allowed/stripped here simply for backwards compatibility, since previously the template required the card's printed name rather than the name of its article) -->
}}{{ #vardefine: $para_name | {{ #var: $para_name | {{ #var: $fn_name | {{ #var: $fn_name_set }} }} }}<!-- if no name is given, fall back on the name in the image name (which will fall apart for anything with spaces, etc. in its name, but sometimes we'll luck out and get a single-word name with no punctuation); if we couldn't separate the name from the set, just use that since at least then the template output won't be completely borked (the name and set stuff will probably be completely useless in this case, though) -->
}}{{ #vardefine: $para_pretty_name | {{Card nameName|{{ #var: $para_name }}}}<!-- name as it will be displayed; should include e.g. "#" and exclude "(stuff)" -->
}}{{ #vardefine: $has_article | {{ #var: $para_pretty_name }}<!-- card has a page -->
}}{{ #vardefine: $para_pretty_name | {{ #var: $para_pretty_name | {{ #explode: {{ #var: $para_name }} | ( }} }}<!-- support redlinked names -->
}}{{ #vardefine: $para_page_name | {{ #if: {{ #var: $smw }} | {{ #show: {{ #var: $para_name }} |?Page name }} Target of| {{ #var: $para_name }} }}<!-- check that $para_name is the actual page name and not e.g. a redirect; if so $para_name and $para_page_name will be the same -->}}{{ #vardefine: $para_page_name para_main_name | {{ #show: {{ #var: $para_page_name para_name }} |?Main card page | link=none | default={{ #var: $para_name }} }}<!-- support redlinked names -->}}{{ #vardefine: $para_url_name | {{Card image name|{{ #var: $para_pretty_name para_page_name }}}}<!-- name as it appears in the image name/URL -->}}{{ #if: {{ #var: $has_article }} || {{ #vardefine: $para_url_name | {{ #explode: {{ #var: $para_url_name }} | ( }} }}<!-- if there's no page, assume the correct card name doesn't have any parenthesized component (this is *usually* correct) -->}}{{ #vardefine: $para_old_url_name | {{ #replace: {{ #replace: {{ #replace: {{ #replace: {{ #replace: {{ #replace: {{ #replace: {{ #replace: {{ #replace: {{ #var: $para_pretty_name }} }} | . }} | ? }} | # }} | " }} | / }} | \ }} | [ }} | ] }}<!-- name as it would appear in the image name if the image was named with the old rules -->}}{{ #vardefine: $para_set | {{ #ifexpr: {{ #len: {{{set|}}} }} < 12 | {{ uc: {{{set|}}} }} | }}
}}{{ #vardefine: $para_set | {{ #var: $para_set | {{ #var: $fn_set | {{ #replace: {{ #replace: {{ #var: $fn_name_set }} | {{ #var: $para_url_name }} }} | {{ #var: $para_old_url_name }} }} }} }}
}}{{ #vardefine: $para_region | {{rg|{{{region|}}}}}
}}{{ #vardefine: $para_region_full | {{region|{{ #var: $para_region }}}}
}}{{ #vardefine: $para_ocg_tcg | {{rgo|{{ #var: $para_region }}}}
}}{{ #if: {{ #var: $para_set }} | {{ #vardefine: $para_set_full | {{ #if: {{{set|}}} | {{ #ifeq: {{{set}}} | {{ #var: $para_set }} || {{{set}}} }} }} }}{{ #vardefine: $para_set_full | {{ #var: $para_set_full | {{ #ask: [[{{ #var: $para_region_full }} set and region prefix::{{ #ifexpr: {{ #len: {{ #var: $para_set }}}} > 5 | {{ #sub:{{ #var: $para_set }} | 0 | 2 }}/{{ #sub: {{ #var: $para_set }} | 2 }} | {{ #var: $para_set }} }}-{{ #var: $para_region }}]] | link=none | limit=1 |searchlabel= }} }} }}{{ #vardefine: $para_set_full | {{ #var: $para_set_full | {{ #ask: [[{{ #var: $para_region_full }} set prefix::{{ #var: $para_set }}]] | link=none | limit=1 |searchlabel= }} }} }}{{ #vardefine: $para_set_full | {{ #var: $para_set_full | {{ #ask: [[{{region|{{ #var: $para_region }}|short2=1}} set and region prefix::{{ #var: $para_set }}-{{ #var: $para_region }}]] | link=none | limit=1 |searchlabel= }} }} }}{{ #vardefine: $para_set_full | {{ #var: $para_set_full | {{ #ask: [[{{region|{{ #var: $para_region }}|short2=1}} set prefix::{{ #var: $para_set }}]] | link=none | limit=1 |searchlabel= }} }} }}{{ #vardefine: $para_set | {{ #explode: {{ #var: $para_set }} | - }} }}{{ #vardefine: $para_pretty_set | {{ #explode: {{ #var: $para_set_full }} | ( | 0 }} }}}}{{ #vardefine: $para_rarity | {{rrarity|{{{rarity}}}}}
}}{{ #vardefine: $para_rarity | {{ #var: $para_rarity | {{ #var: $fn_rarity }} }}
}}{{ #vardefine: $para_rarity_full | {{rrarity|{{ #var: $para_rarity }}|full=yes}}
}}{{ #vardefine: $para_edition | {{ uc: {{{edition|}}} }}
}}{{ #vardefine: $para_edition | {{ #var: $para_edition | {{ #var: $fn_edition }} }}
}}{{ #vardefine: $para_edition_abbr | {{ #switch: {{ lc: {{ #var: $para_edition }} }} | ue | unlimited edition = UE | 1e | 1st edition = 1E | le | limited edition = LE | dt | duel terminal | duel terminal edition = DT | sc | strategy card = SC | tc | tip card = TC | cl | checklist = CL = {{ #var: $para_edition }} | #default = }}
}}{{ #vardefine: $para_edition_full | {{ #switch: {{ #var: $para_edition_abbr }}
| UE = Unlimited Edition
}}{{ #vardefine: $para_release | {{ #var: $para_release | {{ #var: $fn_release }} }}
}}{{ #vardefine: $para_release | {{ #switch: {{ #var: $para_release }}
| OP | OW | CA | GC | CT | RP | VG | DDM | SAMPLE = {{ #var: $para_release }}
| OSP = CT
| ANIME | MANGA = {{ ucfirst: {{ lc: {{ #var: $para_release }} }} }}
| #default = {{ #switch: {{ #var: $para_edition }}
| OP | OW | CA | GC | CT | RP | VG | DDM | SAMPLE = {{ #var: $para_edition }}
| OSP = CT
| ANIME | MANGA = {{ ucfirst: {{ lc: {{ #var: $para_edition }} }} }}
}}{{ #vardefine: $para_release_full | {{ #switch: {{ #var: $para_release }}
| OP = Official Proxy
| OW = Official Website
| CA = Card Artwork
| GC = Giant Card
| CT = Case Topper
}}
}}{{ #vardefine: $para_alt | {{{alt|}}}
}}{{ #if: {{ #var: $fn_alt }} | {{ #ifeq: {{ #var: $para_pretty_name }} | Token | {{ #if: {{ #pos: {{ #var: $para_page_name }} | ( }} | {{ #vardefine: $para_alt | {{Card image name|{{ #replace: {{ #explode: {{ #var: $para_page_name }} | ( | 1 }} | ) }}}} }} }} }}}}{{ #vardefine: $para_alt | {{ #var: $para_alt | {{ #var: $fn_alt }}{{ #if: {{ #var: $fn_alt_2 }} | -{{ #var: $fn_alt_2 }}{{ #if: {{ #var: $fn_alt_3 }} | -{{ #var: $fn_alt_3 }} }} }} }}
}}{{ #vardefine: $para_alt | {{ #switch: {{ lc: {{ #var: $para_alt }} }}
| misc = Misc
| #default = {{ #var: $para_alt }}
}}
}}{{ #if: {{ #pos: {{ #var: $para_alt }} | . }} | {{ #vardefine: $para_alt | {{ #explode: {{ #var: $para_alt }} | . }} }}
<!-- clean these up later or w/e -->
}}{{ #vardefine: $correctimgname | {{ #var: $para_url_name }}{{ #if: {{ #var: $para_set }} | -{{ #replace: {{ #var: $para_set }}| / }} }}{{ #if: {{ #var: $para_region }} | -{{ #var: $para_region }} }}{{ #if: {{ #var: $para_rarity }} | -{{ #var: $para_rarity }} }}{{ #if: {{ #var: $para_edition_abbr }} | -{{ #var: $para_edition_abbr }} }}{{ #if: {{ #var: $para_release }} | -{{ #var: $para_release }} }}{{ #if: {{ #var: $para_alt }} | -{{ #var: $para_alt }} }}}}{{ #vardefine: $correctpagename | {{ #var: $correctimgname }}.{{ #var: $good_ext }}<!-- debug stuff -->}}{{ #if: {{{debug<includeonly>|</includeonly>}}} | <table class="wikitable"> <caption>basic variables</caption> <tr> <th scope="col">variable</th> <th scope="col">parameter</th> <th scope="col">filename</th> <th scope="col">"final"</th> </tr> <tr> <td>Name</td> <td><code><nowiki>{{{name}}}</nowiki></code>: {{ #var: $name }}</td> <td><code>$fn_name_set</code>: {{ #var: $fn_name_set }}<br /><code>$fn_name</code>: {{ #var: $fn_name }}</td> <td><code>$para_name</code>: {{ #var: $para_name }}<br /><code>$para_pretty_name</code>: {{ #var: $para_pretty_name }}<br /><code>$para_page_name</code>: {{ #var: $para_page_name }}<br /><code>$para_url_name</code>: {{ #var: $para_url_name }}<br /><code>$para_old_url_name</code>: {{ #var: $para_old_url_name }}<br /><code>$para_main_name</code>: {{ #var: $para_main_name }}</td> </tr> <tr> <td>Set</td> <td><code><nowiki>{{{set}}}</nowiki></code>: {{{set|}}}</td> <td><code>$fn_name_set</code>: {{ #var: $fn_name_set }}<br /><code>$fn_set</code>: {{ #var: $fn_set }}</td> <td><code>$para_set</code>: {{ #var: $para_set }}<br /><code>$para_set_full</code>: {{ #var: $para_set_full }}<br /><code>$para_pretty_set</code>: {{ #var: $para_pretty_set }}</td> </tr> <tr> <td>Region</td> <td><code><nowiki>{{{region}}}</nowiki></code>: {{{region|}}}</td> <td><code>$fn_region</code>: {{ #var: $fn_region }}</td> <td><code>$para_region</code>: {{ #var: $para_region }}<br /><code>$para_region_full</code>: {{ #var: $para_region_full }}</td> </tr> <tr> <td>Rarity</td> <td><code><nowiki>{{{rarity}}}</nowiki></code>: {{{rarity|}}}</td> <td><code>$fn_rarity</code>: {{ #var: $fn_rarity }}</td> <td><code>$para_rarity</code>: {{ #var: $para_rarity }}<br /><code>$para_rarity_full</code>: {{ #var: $para_rarity_full }}</td> </tr> <tr> <td>Edition</td> <td><code><nowiki>{{{edition}}}</nowiki></code>: {{{edition|}}}</td> <td><code>$fn_edition</code>: {{ #var: $fn_edition }}</td> <td><code>$para_edition</code>: {{ #var: $para_edition }}<br /><code>$para_edition_abbr</code>: {{ #var: $para_edition_abbr }}<br /><code>$para_edition_full</code>: {{ #var: $para_edition_full }}</td> </tr> <tr> <td>Release</td> <td><code><nowiki>{{{release}}}</nowiki></code>: {{{release|}}}</td> <td><code>$fn_release</code>: {{ #var: $fn_release }}</td> <td><code>$para_release</code>: {{ #var: $para_release }}<br /><code>$para_release_full</code>: {{ #var: $para_release_full }}</td> </tr> <tr> <td>Alt</td> <td><code><nowiki>{{{alt}}}</nowiki></code>: {{{alt|}}}</td> <td><code>$fn_alt</code>: {{ #var: $fn_alt }}<br /><code>$fn_alt_2</code>: {{ #var: $fn_alt_2 }}<br /><code>$fn_alt_3</code>: {{ #var: $fn_alt_3 }}</td> <td><code>$para_alt</code>: {{ #var: $para_alt }}</td> </tr></table>* <code><nowiki>{{{watermark}}}</nowiki></code>: {{{watermark|}}}* <code><nowiki>{{{poor}}}</nowiki></code>: {{{poor|}}}* <code>$ext</code>: {{ #var: $ext }}* <code>$filename</code>: {{ #var: $filename }}* <code>$good_ext</code>: {{ #var: $good_ext }}* <code>$ns</code>: {{ #var: $ns }}* <code>$count</code>: {{ #var: $count }}* <code>$has_article</code>: {{ #var: $has_article }}* <code>$para_ocg_tcg</code>: {{ #var: $para_ocg_tcg }}* <code>$correctimgname</code>: {{ #var: $correctimgname }}* <code>$correctpagename</code>: {{ #var: $correctpagename }}
}}{{ #if: {{ #var: $smw }}
| {{ #if: {{ #var: $has_article }}
| {{imbox
| type = content
| text = '''There is no article for the card "[[{{ #var: $para_name }}]]".'''<br />{{ #if: {{{#var: $name|}}} | Be sure that you typed the name correctly. | No value was provided for <code>name</code>. }} If the card's page does not exist yet, you can ignore this message or [{{fullurl:{{FULLPAGENAMEE:{{ #var: $para_name }}}}|action=edit&redlink=yes}} create the page] yourself.
}}{{ #ifeq: {{ #var: $ns }} | {{NS:6}}<!-- only categorize images -->
[[Category:Card images for a card without an article]]
}}
}}
}}{{ #ifeq: {{ #var: $correctimgname correctpagename }} | {{ #var: $filename pagename }}
| {{ #ifeq: {{ #var: $ext }} | {{ #var: $good_ext }}
|| {{imbox
| type = move
| text = '''The extension on this image should be corrected.'''<br />To simplify linking to this image, it should be renamed so that its extension is {{ #ifeq: {{ #var: $ext }} | {{ lc: {{ #var: $ext }} }} || lowercase{{ #ifeq: {{ lc: {{ #var: $ext }} }} | jpeg | , and }} }} {{ #ifeq: {{ lc: {{ #var: $ext }} }} | jpeg | shortened to "jpg" }}.<br />The image should be located at [[:File:{{ #var: $correctimgname }}.{{ #var: $good_ext correctpagename }}]].<br />Please '''do not''' reupload this image; a [[Yu-Gi-Oh!Project:Mover|mover]] or [[Yu-Gi-Oh!Project:Administrators|admin]] will be along shortly to move it to the correct name.<br /><small>Movers and administrators: [[Special:WhatLinksHere/{{FULLPAGENAMEE}}|What links here]]{{•}} [{{fullurl:{{FULLPAGENAMEE}}|action=history}} Image history]{{•}} [{{fullurl:Special:MovePage/{{FULLPAGENAMEE}}|wpNewTitle=File:{{urlencode:{{ #var: $correctimgname }}.{{ #var: $good_ext correctpagename }}}}&wpReason={{urlencode:Moving card image to correct name "{{ #var: $correctimgname }}.{{ #var: $good_ext correctpagename }}" to correct the file extension}}}} Rename image]</small>
}}{{ #ifeq: {{ #var: $ns }} | {{NS:6}}<!-- only categorize images -->
| [[Category:Card images with incorrect names]]
| {{imbox
| type = move
| text = '''This image is named incorrectly''', and must be renamed to comply with the [[Yu-Gi-Oh!Project:Image policy|image policy]].<br />The image should be located at [[:File:{{ #var: $correctimgname }}.{{ #var: $good_ext correctpagename }}]].<br />Please '''do not''' reupload this image; a [[Yu-Gi-Oh!Project:Mover|mover]] or [[Yu-Gi-Oh!Project:Administrators|admin]] will be along shortly to move it to the correct name.<br /><small>Movers and administrators: [[Special:WhatLinksHere/{{FULLPAGENAMEE}}|What links here]]{{•}} [{{fullurl:{{FULLPAGENAMEE}}|action=history}} Image history]{{•}} [{{fullurl:Special:MovePage/{{FULLPAGENAMEE}}|wpNewTitle=File:{{urlencode:{{ #var: $correctimgname }}.{{ #var: $good_ext correctpagename }}}}&wpReason={{urlencode:Moving card image to correct name "{{ #var: $correctimgname }}.{{ #var: $good_ext correctpagename }}" per the [[Yu-Gi-Oh!Project:Image policy|image policy]]}}}} Rename image]</small>
}}{{ #ifeq: {{ #var: $ns }} | {{NS:6}}<!-- only categorize images -->
| [[Category:Card images with incorrect names]]
}}
}}{{ #ifeq: {{ #var: $good_ext }} | png
|| {{ #ifexistifexpr: {{ #imgw: File:{{ #var: $correctimgname }}.png}} > 0
| {{imbox
| type = style
| text = '''There is a [[wikipedia:Portable Network Graphics|PNG]] version of this image available.'''<br />Per the [[Yu-Gi-Oh!Project:Image policy|image policy]], PNG images are preferred for card images. There is a PNG version of this image at [[:File:{{ #var: $correctimgname }}.png]], which should be used instead of this file. Please switch all [[Special:Whatlinkshere/{{FULLPAGENAMEE}}|uses]] of this image to the PNG version and mark this one for deletion.<br /><small>Administrators: [{{fullurl:{{FULLPAGENAMEE}}|action=delete&wpReason={{urlencode:Duplicated/superseded file: [[File:{{ #var: $correctimgname }}.png]]}}}} Delete image]</small>
}}{{ #ifeq: {{ #var: $ns }} | {{NS:6}}<!-- only categorize images -->
| [[Category:Card images with an available PNG version]]
| {{imbox
| type = style
| text = '''This is not a [[wikipedia:Portable Network Graphics|PNG]] image.'''<br />Per the [[Yu-Gi-Oh!Project:Image policy|image policy]], PNG images are preferred for card images. If possible, [[{{fullurl:Special:Upload/|wpDestFile={{ #var: $correctimgname }}.png|}} upload a PNG version]] of this image and mark this one for deletion.
}}{{ #ifeq: {{ #var: $ns }} | {{NS:6}}<!-- only categorize images -->
| [[Category:Non-PNG card images]][[Category:Non-PNG {{ #var: $para_region_full }} card images]]
}}
}}{{ #if: {{{watermark|}}}
| {{Watermark}} | }}{{ #if: {{{poor|}}} | {{Poor quality|{{ #ifexpr: {{ #len: {{{poor}}} }} > 4 | {{{poor}}} | }}}} }} }}{{imbox| text = {{ #switch: {{ #var: $para_release }} | Anime | Manga = This is a {{ #ifeqif: {{ #pos: {{ #var: $para_alt }} | NC }} | non- }}card image for of the {{ #if: {{ #var: $para_rarity_full }} | [[{{ #var: $para_rarity_full }}]] }} {{ #if: {{ #var: $para_edition_full }} | [[{{ #var: $para_edition_full }}]] }} {{ lc: {{ #var: $para_release_full }} }} card "[[{{ #ifvar: $para_page_name }}|{{ #var: $para_release_full para_pretty_name }} ]]".<!-- TODO list the series --> | VG = This is a {{ #switchif: {{ #pos: {{ #var: $para_release para_alt }} | Anime NC }} | Manga = non- }}card image of the {{ #if: {{ #var: $para_release_full para_rarity_full }} | VG = | [[{{ #var: $para_release_full para_rarity_full }}]] }} {{ #if: {{ #var: $para_edition_full }} | [[{{ #var: $para_edition_full }}]] }} card "[[{{ #var: $para_page_name }}|{{ #var: $para_pretty_name }}]]" from the {{ #ifeqif: {{ #var: $para_release para_region }} | VG | [[Gallery of {{vg|{{ #var: $para_set }}|full=1}} cards|{{ #var: $para_region_full }}]] release of the }} video game ''[[{{vg|{{ #var: $para_set }}|full=1|link=1}}|{{vg|{{ #var: $para_set }}|full=1}}]]''. | OP = This is a {{ #if: {{ #pos: {{ #var: $para_alt }} | NC }} | non- }}card image of the {{ #if: {{ #var: $para_rarity_full }} | [[{{ #var: $para_rarity_full }}]] }} {{ #if: {{ #var: $para_edition_full }} | [[{{ #var: $para_edition_full }}]] }} {{ #if: {{ #ifeqvar: $para_set }} || {{ #var: $para_region_full }} }} [[Official Proxy]] card "[[{{ #var: $para_page_name }}|{{ #var: $para_pretty_name }}]]"{{ #if: {{ #var: $para_set }} | &#32;from the [[Set Card Galleries:{{ #var: $para_pretty_set }} ({{ #var: $para_ocg_tcg }}-{{ #var: $para_region }}{{ #switch: {{ #var: $para_region }} | JP | JA | SC | TC = | #default = {{ #if: {{ #var: $para_edition_abbr }} | -{{ #var: $para_edition_abbr }} | {{ #if: {{ #var: $para_release }} | VG -1E }} }} }})| the video game {{ #var: $para_region_full }} ]] print of ''[[{{vg#var: $para_set_full }}|{{ #var: $para_set para_pretty_set }}]]'' }}. |fullOW =1This is a {{ #if: {{ #pos: {{ #var: $para_alt }} | NC }} | non- }}card image of the {{ #if: {{ #var: $para_rarity_full }} | [[{{ #var: $para_rarity_full }}]] }} {{ #if: {{ #var: $para_edition_full }} | [[{{ #var: $para_edition_full }}]] }} Official Website card "[[{{ #var: $para_page_name }}|{{ #var: $para_pretty_name }}]]". |linkCA =1This is a cropped artwork image of the {{ #if: {{ #var: $para_region_full }}|{{vg#var: $para_region_full }} print of the }} card "[[{{ #var: $para_page_name }}|{{ #var: $para_set para_pretty_name }}]]". |fullSAMPLE =1This is a {{ #var: $para_region_full }} SAMPLE card image of the card "[[{{ #var: $para_page_name }}|{{ #var: $para_pretty_name }}]]''". | #default = This is a {{ #if: {{ #pos: {{ #var: $para_alt }} | NC }} | non- }}card image of the {{ #if: {{ #var: $para_rarity_full }} | [[{{ #var: $para_rarity_full }}]] }} {{ #if: {{ #var: $para_edition_full }} | [[{{ #var: $para_edition_full }}]] }} {{ #if: {{ #var: $para_release_full }} | [[{{ #var: $para_release_full }}]] }} card "[[{{ #var: $para_page_name }}|{{ #var: $para_pretty_name }}]]"{{ #if: {{ #var: $para_set }} | &#32;from the [[Set Card Galleries:{{ #var: $para_pretty_set }} ({{ #var: $para_ocg_tcg }}-{{ #var: $para_region }}{{ #switch: {{ #var: $para_region }} | JP | JA | SC | TC = | #default = {{ #if: {{ #var: $para_edition_abbr }} | -{{ #var: $para_edition_abbr }} | {{ #if: {{ #var: $para_release }} | -1E }} }} }})|{{ #var: $para_region_full }}]] print of ''[[{{ #var: $para_set_full }}|{{ #var: $para_pretty_set }}]]''}}. }} You can also view a [[Special:Prefixindex/File:{{ #var: $para_url_name }}-|list]] {{ #ifeq: {{ #var: $para_url_name }} | {{ #var: $para_old_url_name }} || <span class="cardimageoldname" style="display: none;">([[Special:Prefixindex/File:{{ #var: $para_old_url_name }}|old]])</span> }} {{ #ifexistif: {{PROTECTIONEXPIRY:edit|Card Gallery:{{ #var: $para_name para_main_name }} }}<!-- [[wikipedia:Template:Linkless exists]] --> | and [[Card Gallery:{{ #var: $para_name para_main_name }}|gallery]] }} of all images uploaded for "{{ #var: $para_pretty_name }}".
}}
{{ #ifeq: {{ #var: $ns }} | {{NS:6}} |
== Licensing ==
{{Fair use|{{ #ifeqif: {{{fair_use_type|}}} | {{{fair_use_type}}} | {{ #switch: {{ #var: $para_release }} | VG = game-screenshot | Manga = comic | gameAnime = tv-screenshot <!-- TODO handle film screenshots too --> }} }}}} {{ #ifeq: {{ #var: $para_release }} | VG | [[Category:{{vg|{{ #var: $para_set}}|full=1|link=1}} {{ #ifeqif: {{ #pos: {{ #var: $para_alt }} | NC }} | monster | card }} images]] }} }}<!--# Tracking control character:-->{{ #if: {{ #pos: {{{name#var: $para_alt }} |artwork }}} | artworks | images }} | [[Category:((OCG-TCG card image)) instance of a control character in (((name)))]] }} }}<!--
# misc categories
-->{{ #switch: {{ #var: $para_set }}
| BAN1 | BAN2 = [[Category:Bandai card images]]
}}{{ #ifeq: {{ #var: $para_release }} | DDM | [[Category:Dungeon Dice Monsters card images]]
}}<!--# track cropped card artworks-->{{ #switch: {{ #var: $para_release }} | CA = [[Category:Cropped card images]] }}<!--# tracking control character-->{{ #if: {{ #pos: {{ #var: $name }} | ‎ }} | [[Category:((OCG-TCG card image)) instance of a control character in (((name)))]] }}<!--# other tracking-->{{ #if: {{{fair_use_type|}}} | [[Category:((OCG-TCG card image)) transclusions using (((fair_use_type)))]] }}<!--# unknown parameters check-->{{ #invoke: Check for unknown parameters | check | unknown = [[Category:Pages using unknown parameter(s) for ((OCG-TCG card image))]] | showblankpositional = 1 | preview = unknown {{tlf|OCG-TCG card image}} parameter "_VALUE_" | name | set | region | rarity | edition | release | alt | fair_use_type | watermark | poor }}<noinclude>{{Documentation}}</noinclude>

Navigation menu