Difference between revisions of "User:Becasita/SubPages/Templates/CardImage"
< User:Becasita | SubPages | Templates
(There has to be a better way than this.) |
(Adding list of known problems.) |
||
Line 1: | Line 1: | ||
− | + | {{OCG-TCG card image | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
| name = {{{1}}} | | name = {{{1}}} | ||
| set = {{<includeonly><includeonly>subst:</includeonly></includeonly>#explode:{{<includeonly>subst:</includeonly>#explode: {{<includeonly>subst:</includeonly>PAGENAME}}|.|0}}|-|1}} | | set = {{<includeonly><includeonly>subst:</includeonly></includeonly>#explode:{{<includeonly>subst:</includeonly>#explode: {{<includeonly>subst:</includeonly>PAGENAME}}|.|0}}|-|1}} | ||
Line 19: | Line 9: | ||
| #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>)}} | {{<includeonly>subst:</includeonly>)}}{{<includeonly>subst:</includeonly>)}} | ||
− | }} | + | }}<noinclude> |
+ | <br style = "clear:both;" /> | ||
+ | ==Known Problems== | ||
+ | * Doesn't work with OP, GC and CT cards; | ||
+ | * Doesn't work with DT Japanese cards; | ||
+ | * Doesn't work with cards needing the <code>alt</code> parameter; | ||
+ | * Bad designed. | ||
+ | |||
+ | ==Usage== | ||
+ | I'll finish this when I have the time. | ||
+ | |||
+ | ==Example== | ||
+ | <div style = "color:Red;">'''Do not use this yet!'''</div> | ||
+ | <pre> | ||
+ | {{subst::User:Becasita/SubPages/CardImageUploadTemplate|<Card name>}} | ||
+ | </pre> | ||
+ | </noinclude> |
Revision as of 19:42, 9 April 2016
{{OCG-TCG card image
| name = {{{1}}}
| set = {{</includeonly>#explode:Becasita/SubPages/Templates/CardImage|-|1}}
| region =
| rarity =
| edition =
}}
Known Problems
- Doesn't work with OP, GC and CT cards;
- Doesn't work with DT Japanese cards;
- Doesn't work with cards needing the
alt
parameter; - Bad designed.
Usage
I'll finish this when I have the time.
Example
Do not use this yet!
{{subst::User:Becasita/SubPages/CardImageUploadTemplate|<Card name>}}