Difference between revisions of "Template:OCG-TCG card image"
Dinoguy1000 (talk | contribs) (more char removal from card name, move everything else to /core) |
Dinoguy1000 (talk | contribs) (+lang) |
||
Line 4: | Line 4: | ||
| imagename = {{PAGENAME}} | | imagename = {{PAGENAME}} | ||
| cardnameset = {{ #explode: {{PAGENAME}} | - | 0 }} | | cardnameset = {{ #explode: {{PAGENAME}} | - | 0 }} | ||
− | | cardrarity = {{ #explode: {{PAGENAME}} | - | | + | | cardlang = {{ #explode: {{PAGENAME}} | - | 1 }} |
− | | cardavailability = {{ #explode: {{PAGENAME}} | - | | + | | cardrarity = {{ #explode: {{PAGENAME}} | - | 2 }} |
− | | alternateart = {{ #explode: {{PAGENAME}} | - | | + | | cardavailability = {{ #explode: {{PAGENAME}} | - | 3 }} |
+ | | alternateart = {{ #explode: {{PAGENAME}} | - | 4 }} | ||
<!-- user-specified card details --> | <!-- user-specified card details --> | ||
| name = {{#replace:{{#replace:{{#replace:{{#replace:{{#replace:{{#replace:{{#replace:{{#replace:{{#replace:{{#replace:{{#replace:{{#replace:{{#replace:{{#replace:{{#replace:{{#replace:{{{name}}}|`}}|-}}|–}}|—}}|-}}|−}}|(}}|)}}|'}}|}}|.}}|?}}|#}}|"}}|/}} |\ }} | | name = {{#replace:{{#replace:{{#replace:{{#replace:{{#replace:{{#replace:{{#replace:{{#replace:{{#replace:{{#replace:{{#replace:{{#replace:{{#replace:{{#replace:{{#replace:{{#replace:{{{name}}}|`}}|-}}|–}}|—}}|-}}|−}}|(}}|)}}|'}}|}}|.}}|?}}|#}}|"}}|/}} |\ }} | ||
| nakedname = {{{name}}} | | nakedname = {{{name}}} | ||
− | | set = {{{set}}} | + | | set = {{ uc: {{{set}}} }} |
+ | | lang = {{ uc: {{{lang}}} }} | ||
| rarity = {{{rarity}}} | | rarity = {{{rarity}}} | ||
| availability = {{{availability}}} | | availability = {{{availability}}} | ||
| alternate = {{{alternate}}} | | alternate = {{{alternate}}} | ||
}}<noinclude>{{Documentation}}</noinclude> | }}<noinclude>{{Documentation}}</noinclude> |
Revision as of 18:54, 30 May 2010
There is no article for the card "[[{{{name}}}]]". Be sure that you typed the name correctly. If the card's page does not exist yet, you can ignore this message or [[[:Template:Fullurl:]] create the page] yourself. |
This image is named incorrectly, and must be renamed to comply with the image policy. The image should be located at [[:File:-{{{SET}}}.ocg-tcg card image]]. Please do not reupload this image; a mover or admin will be along shortly to move it to the correct name. Movers and administrators: What links here • Image history • Rename image |
This is not a PNG image. Per the image policy, PNG images are preferred for card images. If possible, upload a PNG version of this image and mark this one for deletion. |
This is a card image of the card "[[|{{{name}}}]]" from the [[Set Card Galleries: (-)|]] print of [[|]]. You can also view a list and [[Card Gallery:{{{name}}}|gallery]] of all images uploaded for "{{{name}}}". |
{{OCG-TCG card image}} displays information about card images, including links to the card, set, rarity, and edition, as well as links to a prefix search for all images of that card and to the card's gallery page, if one exists. It also adds {{Fair use}} to card images, and in the future, may add categories as well.
This template is ready to use now, and should be added to all new card images as they are uploaded, if they are of a TCG or OCG card. While its functionality may change in the future, its usage will not, so there's no need to worry about current transclusions needing to be updated in the future.
Usage
{{OCG-TCG card image | name = | set = | region = | rarity = | edition = | release = | alt = }}
name
- The English name of the card.
set
- The set prefix as displayed in the card's set number (e.g.
TAEV
from "TAEV-EN040"). region
- The region the card is for. The template can accept either the two-letter region code (
JP
) or the region name (Japanese
). If there is no region code on the card, list it asNA
(for "North American region"). rarity
- The card's rarity. The template can accept either the rarity abbreviation (
ScR
) or the full name of the rarity (Secret Rare
). edition
- Whether the card is 1st (
1E
), Unlimited (UE
), or Limited (LE
) Edition. This parameter should also be used for Duel Terminal Edition (DT
) and Strategy (SC
) cards. release
- Whether the card is an Official Proxy (
OP
), Giant Card (GC
), Case Topper (CT
), or Replica (RP
). These values can also be used with theedition
parameter, though usingrelease
is preferred. alt
- Whether this is an alternate artwork version of the card. This parameter should generally not be needed.
Unused parameters should be deleted.
Maintenance
This template helps automate maintenance in a few ways:
- If one or more required parameters isn't supplied, the template outputs an error message with the name of the parameter(s). This means you can simply add "{{OCG-TCG card image}}" to an image and click "Preview" to get a list of parameters.
- The template checks to make sure that the value in the "name" parameter points to an actual article, and if not, notifies that the value should be checked. It then checks to make sure the value matches the article's actual name, and notifies if the match fails (this is useful when moving pages around).
- When correctly filled out, this template automatically identifies, tags, and categorizes card images that should be renamed to conform with the image policy, saving the tagger (and the administrator renaming the image) some work, since {{Rename media}} doesn't have to be added to or removed from the image.
- The template automatically detects non-PNG images and recommends that a PNG version be uploaded and the non-PNG version be tagged for deletion, as recommended by the image policy. This message can be ignored if a PNG version is not known to exist, and the user doesn't know how to create one.
See also
- {{Card image name}}
- {{R}}
- {{Region}}, {{Rg}}, and {{Rgo}}