Template:PQ Entity: Difference between revisions

From Official Pixel Quest Wiki
Jump to navigation Jump to search
PQ bot datadump templates (template)
 
PQ bot datadump templates (template)
 
Line 3: Line 3:


Do not wrap large parameters in <code>#if</code>: ParserFunctions split on <code>|</code>. Template args escape <code>|</code> as <code>{{!}}</code>, so the bot uses <b>HTML</b> <code>&lt;table class=&quot;wikitable&quot;&gt;</code> for statistics, loot, and attacks (not wikitext <code>{{!}}</code> tables). The bot omits empty sections.
Do not wrap large parameters in <code>#if</code>: ParserFunctions split on <code>|</code>. Template args escape <code>|</code> as <code>{{!}}</code>, so the bot uses <b>HTML</b> <code>&lt;table class=&quot;wikitable&quot;&gt;</code> for statistics, loot, and attacks (not wikitext <code>{{!}}</code> tables). The bot omits empty sections.
Optional <code>|notes=</code> — body text under the fixed <code>== Notes ==</code> heading below (do not put <code>== Notes ==</code> in the parameter value — <code>=</code> there can confuse the parser).


Optional blocks (<code>found_in</code> through <code>attacks</code>) are written on one line so omitted parameters do not insert blank lines. The bot ends each non-empty block with a newline.
Optional blocks (<code>found_in</code> through <code>attacks</code>) are written on one line so omitted parameters do not insert blank lines. The bot ends each non-empty block with a newline.
</noinclude>{{{icon|}}}{{{statistics|}}}
</noinclude>{{{icon|}}}{{{statistics|}}}
== Notes ==
== Notes ==
<!-- Add editor notes/history here. -->
{{{notes|}}}
{{{found_in|}}}{{{event_biomes|}}}{{{speeches|}}}{{{spawns|}}}{{{loot|}}}{{{attacks|}}}
{{{found_in|}}}{{{event_biomes|}}}{{{speeches|}}}{{{spawns|}}}{{{loot|}}}{{{attacks|}}}
{{{categories|}}}
{{{categories|}}}

Latest revision as of 01:57, 1 April 2026

PQ Entity / Enemy layout — transcluded by enemy/entity pages. Edit to change all entity pages.

Do not wrap large parameters in #if: ParserFunctions split on |. Template args escape | as |, so the bot uses HTML <table class="wikitable"> for statistics, loot, and attacks (not wikitext | tables). The bot omits empty sections.

Optional |notes= — body text under the fixed == Notes == heading below (do not put == Notes == in the parameter value — = there can confuse the parser).

Optional blocks (found_in through attacks) are written on one line so omitted parameters do not insert blank lines. The bot ends each non-empty block with a newline.

Notes