Template:Ingame description: Difference between revisions
No edit summary |
now shows feature's name when |1= is passed |
||
| Line 1: | Line 1: | ||
<blockquote><p> | <blockquote><p> | ||
{{Description plain|{{{1|{{PAGENAME}}}}}}} | {{Description plain|{{{1|{{PAGENAME}}}}}}} | ||
</p><cite>— In-game description</cite> | </p><cite>— {{#ifeq:{{{1|{{PAGENAME}}}}}|{{PAGENAME}}|In-game description|{{#if:{{{hidename|}}}|In-game description|[[{{{1|{{PAGENAME}}}}}]], in-game description}}}}</cite> | ||
</blockquote> | </blockquote> | ||
<noinclude> | <noinclude> | ||
{{Description|API Key}} | {{Description|API Key|1}} | ||
==Documentation== | ==Documentation== | ||
Displays the in-game description of an item, relic, or cosmetic as a <code><blockquote></code>. | Displays the in-game description of an item, relic, or cosmetic as a <code><blockquote></code>. | ||
| Line 13: | Line 13: | ||
"label": "Feature", | "label": "Feature", | ||
"description": "Feature to display the description of" | "description": "Feature to display the description of" | ||
}, | |||
"hidename": { | |||
"description": "Suppresses showing the feature's name when it differs from the page name", | |||
"type": "boolean", | |||
"suggested": true | |||
} | } | ||
} | }, | ||
"paramOrder": [ | |||
"1", | |||
"hidename" | |||
] | |||
} | } | ||
</templatedata> | </templatedata> | ||
</noinclude> | </noinclude> | ||
Latest revision as of 00:40, 21 May 2024
Description missing: Ingame description
— In-game description
Reveals cooldown, timestamps, and other hidden info on the online zoo API.
— API Key, in-game description
Documentation[edit source]
Displays the in-game description of an item, relic, or cosmetic as a <blockquote>.
No description.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Feature | 1 | Feature to display the description of | Unknown | optional |
| hidename | hidename | Suppresses showing the feature's name when it differs from the page name | Boolean | suggested |