Difference between revisions of "User:Becasita/SubPages/Templates/CardImage"
< User:Becasita | SubPages | Templates
(This should work for Japanese Duel Terminal pics now.) |
m (Some cleanup (why did I use this in the first place?).) |
||
Line 7: | Line 7: | ||
| JP | | JP | ||
| TC = {{<includeonly>subst:</includeonly>#ifeq:{{<includeonly>subst:</includeonly>#explode:{{<includeonly>subst:</includeonly>#explode: {{<includeonly>subst:</includeonly>PAGENAME}}|.|0}}|-|-1}} | DT | {{<includeonly>subst:</includeonly>!}} edition = {{<includeonly>subst:</includeonly>#explode:{{<includeonly>subst:</includeonly>#explode: {{<includeonly>subst:</includeonly>PAGENAME}}|.|0}}|-|-1}} | | TC = {{<includeonly>subst:</includeonly>#ifeq:{{<includeonly>subst:</includeonly>#explode:{{<includeonly>subst:</includeonly>#explode: {{<includeonly>subst:</includeonly>PAGENAME}}|.|0}}|-|-1}} | DT | {{<includeonly>subst:</includeonly>!}} edition = {{<includeonly>subst:</includeonly>#explode:{{<includeonly>subst:</includeonly>#explode: {{<includeonly>subst:</includeonly>PAGENAME}}|.|0}}|-|-1}} | ||
− | {{<includeonly>subst:</includeonly>) | + | {{<includeonly>subst:</includeonly>))}} | {{<includeonly>subst:</includeonly>))}}}} |
| #default = {{<includeonly>subst:</includeonly>!}} edition = {{<includeonly>subst:</includeonly>#explode:{{<includeonly>subst:</includeonly>#explode: {{<includeonly>subst:</includeonly>PAGENAME}}|.|0}}|-|4}} | | #default = {{<includeonly>subst:</includeonly>!}} edition = {{<includeonly>subst:</includeonly>#explode:{{<includeonly>subst:</includeonly>#explode: {{<includeonly>subst:</includeonly>PAGENAME}}|.|0}}|-|4}} | ||
− | {{<includeonly>subst:</includeonly>) | + | {{<includeonly>subst:</includeonly>))}} |
}}<noinclude> | }}<noinclude> | ||
<br style = "clear:both;" /> | <br style = "clear:both;" /> | ||
Line 15: | Line 15: | ||
* Doesn't work with OP, GC and CT cards; | * Doesn't work with OP, GC and CT cards; | ||
* Doesn't work with cards needing the <code>alt</code> parameter; | * Doesn't work with cards needing the <code>alt</code> parameter; | ||
− | * Bad designed. | + | * Bad designed (I need to use vars...). |
==Usage== | ==Usage== |
Revision as of 00:25, 10 April 2016
{{OCG-TCG card image
| name = {{{1}}}
| set =
| region =
| rarity =
| edition =
}}
Known Problems
- Doesn't work with OP, GC and CT cards;
- Doesn't work with cards needing the
alt
parameter; - Bad designed (I need to use vars...).
Usage
I'll finish this when I have the time.
Example
Do not use this yet!
{{subst::User:Becasita/SubPages/CardImageUploadTemplate|<Card name>}}