Template:Sandbox/Aurelain/ArtifactSummary: Difference between revisions

From Heroes of Might and Magic: Olden Era Official Wiki
No edit summary
No edit summary
Tag: Manual revert
 
(4 intermediate revisions by the same user not shown)
Line 13: Line 13:
     A.id = id,
     A.id = id,
     T.name = name,
     T.name = name,
     T.description = description,
     {{#if:{{{description|}}} | CONCAT("{{{description|}}}") | T.description}} = description,
     T.language = lang,
     T.language = lang,
     A.rarity = rarity,
     A.rarity = rarity,
Line 54: Line 54:


{{Color|lime|Output:}} {{Sandbox/Aurelain/ArtifactSummary | id=foo}}
{{Color|lime|Output:}} {{Sandbox/Aurelain/ArtifactSummary | id=foo}}
----<!--=====================================================================-->
4. With {{b|description}}, to override the Cargo value:
{{Color|yellow|Input:}} <code><nowiki>{{Sandbox/Aurelain/ArtifactSummary | lang=en | id=cards_deck_artifact | description=foo}}</nowiki></code>
{{Color|lime|Output:}} {{Sandbox/Aurelain/ArtifactSummary | lang=en | id=cards_deck_artifact | description=foo}}


</noinclude>
</noinclude>

Latest revision as of 14:17, 28 June 2026


Displays brief information about an artifact.

Usage

1. English:

Input: {{Sandbox/Aurelain/ArtifactSummary | lang=en | id=cards_deck_artifact }}

Output:

Deck of Spells  — Rare Item
Makes all tier-1 spells available to the hero.

2. Japanese:

Input: {{Sandbox/Aurelain/ArtifactSummary | lang=ja | id=cards_deck_artifact }}

Output:

呪文札  — Rare Item
ヒーローがティア1の呪文をすべて使えるようになる。

3. When the id is wrong, the wiki_none text is displayed:

Input: {{Sandbox/Aurelain/ArtifactSummary | id=foo}}

Output: None


4. With description, to override the Cargo value:

Input: {{Sandbox/Aurelain/ArtifactSummary | lang=en | id=cards_deck_artifact | description=foo}}

Output:

Deck of Spells  — Rare Item
foo