Template:AdvancementTable: Difference between revisions

mNo edit summary
(forgot parent)
Line 1: Line 1:
<includeonly><table class="wikitable sortable" style="width: 100%;">{{#if: {{{header|}}} |<tr><th colspan="{{#ifeq:{{PAGENAME}}|Advancements|5|4}}" style="text-align: center;">{{{header}}}</th></tr>}}<tr><th>Icon</th><th>Name</th><th>Description</th><th>Actual requirements (if different)</th>{{#ifeq:{{PAGENAME}}|Advancements|<th>Resource location</th>}}</tr>{{#if:{{{1|}}}|{{{1}}}}}</table></includeonly><noinclude>
<includeonly><table class="wikitable sortable" style="width: 100%;">{{#if: {{{header|}}} |<tr><th colspan="{{#ifeq:{{PAGENAME}}|Advancements|6|4}}" style="text-align: center;">{{{header}}}</th></tr>}}<tr><th>Icon</th><th>Name</th><th>Description</th>{{#ifeq:{{PAGENAME}}|Advancements|<th>Parent</th>}}<th>Actual requirements (if different)</th>{{#ifeq:{{PAGENAME}}|Advancements|<th>Resource location</th>}}</tr>{{#if:{{{1|}}}|{{{1}}}}}</table></includeonly><noinclude>
{{documentation}}
{{documentation}}
</noinclude>
</noinclude>

Revision as of 08:38, 15 November 2026

[view | edit | history | purge]Documentation

This template represents a table that contains Template:AdvancementRow.

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)
Advancement-plain-raw.png
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:AdvancementTable/doc.