Eternal Card Game Wiki
Register
Advertisement

Here is an overview of some useful templates, loosely organized by use, as a reference for wiki editors. Check the templates' pages for more infomation, including template parameters and other documentation.

Templates for Wiki Articles[]

Infoboxes[]

Template Description Shortcut
{{CardInfobox}} Infobox for card pages, to display the card's image, stats, and other information. Includes hover-popups for keywords and tokens.
{{SetInfobox}} Infobox for expansions and the paid campaigns. Includes release info, card type and rarity breakdowns, and navigation to the previous and following set.
{{PatchInfobox}} Infobox for patch notes pages. Lists the release date, source announcement, change highlights, and navigation to the previous and following patch.
{{CharacterInfobox}} Infobox for character lore pages. Lists character demographics, related cards, and primary sources for the article's information.
{{ArtistLinks}} Infobox for artist pages. Lists links to their external art sites, such as deviantart or artstation.

Hover Templates[]

These templates add a popup when hovering over a link or text.

Template Description Shortcut
{{CardHover}} Hover over a card's link to display its image.
{{KeywordHover}} Hover over a keyword's link to display its description.

Card Images[]

Templates to display cards, in a standardized format or with features beyond standard image wikitext.

Template Description Shortcut
{{Card}} Displays a card image, with a link to the card page.
{{Card3}} Similar to {{Card}}, but puts 3 cards in a row. Can also show 1 or 2 cards in same formatting if 2nd or 3rd parameters are unassigned.
{{OldImage}} Displays an previously uploaded version of a card image. Use to display a historical version of the card, as an alternative to re-uploading the older image under a new file name.

Other Images[]

Template Description Shortcut
{{Icon}} Use to display various Eternal game symbols. Includes icons for the 5 factions, rarities, card types, the attack and HP symbols, and more. {{i}}
{{ImageQuote}} Displays an image with a stylized quotation or other text above it. May be used as a banner image for card set or keyword pages, or added as design elements on lore pages.

Article Design[]

These templates standarize various design elements of wiki articles, including sections and information tables.

Template Description Shortcut
{{Reference}} Creates a reference, citation, or footnote. Can also create "citation needed" tags. Be sure to add {{Refs}} if needed. {{r}}
{{Refs}} Adds a 'References' header and section to display article citations. Add at the end of any pages that use {{Reference}} or <ref> tags.
{{Crafting}} Add to card pages to explain how to obtain a card. Includes a table with crafting information for that card's rarity.
{{VoiceoverSection}}
& {{VoiceoverQuote}}
Create card page Voiceover sections.
{{vo}}
{{Quote}} Displays a stylized quotation.
{{Main}} Directs readers to another page for the main article on the subject.
{{TocRight}} Place the article's table of contents and float to the right.
{{HistorySection}}
& {{HistoryItem}}
Create card page History sections to list a card's past changes. {{hs}}
{{hi}}
{{TabLine}} Create a sortable table with 4 values. The more comprehensive {{TabLineUnit}} may be used on the Units page instead.
{{Spoiler}} Used to hide spoilers of story or content.
{{Disambig}} Used to flag and categorize disambiguation pages.

Modules[]

Modules are advanced wiki templates that use customized Lua as a scripting language. Some modules can only be accessed through regular templates or other modules, but the following modules can be used on wiki pages (just like templates) using:

{{#invoke:Module Name|<function>|<parameter>|<parameter>}}
Module Description Shortcut
String Used for simple text manipulation, as an alternative to wikitext parser functions.

Templates for Article Management[]

Use these templates to create notices or categorize pages for tasks relating to the management of this wiki.

Template Description Shortcut
{{WorkInProgress}} For large changes to an article, notify users that a page is currently being edited, and warn other editors (to avoid editing conflicts). {{wip}}
{{Stub}} Mark short articles or sections as stubs, so other users know it should be expanded with more information.
{{Disambig}} Use to mark disambiguation pages.
{{Delete}} Mark a page for deletion, to later be reviewed and deleted by wiki admins.
{{Rename}} Mark a page that needs to be renamed. Most pages can be renamed by editors, but some pages (such as file pages) require an admin.

Templates for File Licensing[]

These templates provide source attribution and licencing information for images or other files uploaded to this wiki. Additional licensing templates may be found in the Licensing Templates category.

Template Description Shortcut
{{CardImage}} Information for images of individual Eternal cards.
{{ArtImage}} Information for full-art artwork images or wallpapers.
{{PromoImage}} Information for promotional images such as banners or avatar images.
{{Screenshot}} Information for screenshots of the game.

Mainpage Templates[]

These templates are used to format this wiki's mainpage. Note that edits to these templates may need admin help to fully function.

Template Description Shortcut
{{Mainpage Welcome}} 'Welcome to the wiki' message.
{{Mainpage Section - Sets}} A set of buttons linked to the articles on Eternal's sets.
{{Mainpage Sidebar}} Holds all the sidebar content - internal and external links, and DWD's twitter feed.
w:FooterCCGGames Inserts the CCG Games footer from the Community Central wiki.
{{Mainpage Disclaimer}} Message disclaiming that we are not affiliated with DWD.

Editing Wiki Templates[]

Changes to existing templates, especially complicated alterations to widely-used templates, should be tested in a template sandbox before being added to the main version. This is to avoid potentially breaking many pages should there be unintended effects or errors in the changes.

Templates may be copied into a sandbox page where the changes may be safely made. The experimental version may then be tested on a dedicated testcases page or a page in the user's User Space. Tests should include various use cases and parameter inputs.

Sandbox and testcase pages may be created using the links in the template documentation's footer, or by adding "/sandbox" or "/testcases" to the end of the main template URL and adding the {{Sandbox}} or {{Testcases}} notice to the new page. Existing sandboxes and testcases can be found in the Template Sandboxes and Testcases category.

Advertisement