Template:AdvancementRow: Difference between revisions

(if not page Advancements, will link to the anchored advancement. essentially in every other page it will link to the specific advancement under the Advancement page)
No edit summary
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly><tr><td>{{ScaledImage|{{#if:{{{icon|{{{1|}}}}}}|{{{icon|{{{1}}}}}}}}.png|64px}}</td><td>{{anchor|{{{title}}}}} {{#ifeq: {{PAGENAME}} | Advancements | {{{title|—}}} | [[Advancements#{{{title}}}|{{{title|—}}}]] }}</td><td>{{{description|{{{2}}}}}}</td><td>{{#if: {{{requirements|{{{3|}}}}}} | {{{requirements|{{{3}}}}}} | — }}</td><td>{{#if: {{{id|{{{4|}}}}}} | <code>{{{id|{{{4|}}}}}}</code> | — }}</td></tr></includeonly>
<includeonly><tr><td>{{ScaledImage|{{#if:{{{icon|{{{1|}}}}}}|{{{icon|{{{1}}}}}}}}.png|64px}}</td><td>{{anchor|{{{title}}}}} {{#ifeq: {{PAGENAME}} | Advancements | {{{title|—}}} | [[Advancements#{{{title}}}|{{{title|—}}}]] }}</td><td>{{{description|{{{2}}}}}}</td><td>{{#if: {{{requirements|{{{3|}}}}}} | {{{requirements|{{{3}}}}}} | — }}</td>{{#ifeq:{{PAGENAME}}|Advancements|<td>{{#if:{{{id|{{{4|}}}}}}|<code>{{{id|{{{4}}}}}}</code>|—}}</td>}}</tr></includeonly><noinclude>
<noinclude>
{{documentation}}
{{documentation}}
</noinclude>
</noinclude>

Latest revision as of 14:35, 10 November 2026

[view | edit | history | purge]Documentation

This template represents a row in Template:AdvancementTable.

Usage

{{AdvancementTable|
{{AdvancementRow
|title=The First of Many
|Poke Ball
|Using four of the same Apricorn and a Copper Ingot, craft your first Poké Ball
|Have any type of [[Poké Ball]] or [[Ancient Poké Ball]] in your inventory.
|cobblemon/craft_poke_ball}}
}}

Produces:

IconNameDescriptionActual requirements (if different)
Poke Ball.png
The First of ManyUsing four of the same Apricorn and a Copper Ingot, craft your first Poké Ball Have any type of Poké Ball or Ancient Poké Ball in your inventory.

Note: Resource location is automatically omitted if the page is not Advancements. Hence, cobblemon/craft_poke_ball will not appear even if specified.

[view | edit | history | purge]The above documentation is transcluded from Template:AdvancementRow/doc.