Jump to content

Template:Sticker Files: Difference between revisions

From The Petit Planet Wiki
ReisuDesign (talk | contribs)
Created page with "<includeonly> {{#if:{{{nomain|}}}||{{Main|{{{main|Sticker Pack}}}}}}} {{#tag:gallery| {{#DPL: |category = Files by ID<&>Sticker Pack{{#if:{{{1|}}}|<&>{{{1|{{ROOTPAGENAME}}}}} Media|{{#if:{{{categories|}}}|<&>{{{categories}}}}}}} |include = {File/Sticker}:%PAGE%{{#if:{{{mini|}}}||{{#if:{{{noNeighbor|}}}||:neighbors}}:caption{{#if:{{{novol|}}}||:vol}}}} |format = ,,, |tablerow = %%{{#if:{{{mini|}}}||«!--,--»²{!}²{{#if:{{{noNei..."
 
m trying to make the caption centered
Line 6: Line 6:
|include            = {File/Sticker}:%PAGE%{{#if:{{{mini|}}}||{{#if:{{{noNeighbor|}}}||:neighbors}}:caption{{#if:{{{novol|}}}||:vol}}}}
|include            = {File/Sticker}:%PAGE%{{#if:{{{mini|}}}||{{#if:{{{noNeighbor|}}}||:neighbors}}:caption{{#if:{{{novol|}}}||:vol}}}}
|format            = ,,,
|format            = ,,,
|tablerow          = %%{{#if:{{{mini|}}}||«!--,--»²{!}²{{#if:{{{noNeighbor|}}}||²{#if:%%¦[[²{#explode:%%¦;¦0}²]]}²²{#if:%%¦«!--,--»²{#if:%%¦<&>colon;&nbsp;}²}²}}%%{{#if:{{{novol|}}}||«!--,--»<br>{{#if:{{{noVolLink|}}}||[[Sticker Pack]]:&nbsp;}}[[Sticker Pack/Vol %%|Vol %%]]}}}}\n
|tablerow          = %%{{#if:{{{mini|}}}||«!--,--»²{!}²<div style="text-align: center">{{#if:{{{noNeighbor|}}}||²{#if:%%¦[[²{#explode:%%¦;¦0}²]]}²²{#if:%%¦«!--,--»²{#if:%%¦<&>colon;&nbsp;}²}²}}%%{{#if:{{{novol|}}}||«!--,--»<br>{{#if:{{{noVolLink|}}}||[[Sticker Pack]]:&nbsp;}}[[Sticker Pack/Vol %%|Vol %%]]}}</div>}}\n
|noresultsfooter    = No images match the selection criteria.\n
|noresultsfooter    = No images match the selection criteria.\n
|ordermethod        = sortkey
|ordermethod        = sortkey
Line 14: Line 14:
|include            = {File/Sticker}:%PAGE%{{#if:{{{mini|}}}||{{#if:{{{noNeighbor|}}}||:neighbors}}:caption{{#if:{{{novol|}}}||:vol}}}}
|include            = {File/Sticker}:%PAGE%{{#if:{{{mini|}}}||{{#if:{{{noNeighbor|}}}||:neighbors}}:caption{{#if:{{{novol|}}}||:vol}}}}
|format            = ,,,
|format            = ,,,
|tablerow          = %%{{#if:{{{mini|}}}||«!--,--»²{!}²{{#if:{{{noNeighbor|}}}||²{#if:%%¦[[²{#explode:%%¦;¦0}²]]}²²{#if:%%¦«!--,--»²{#if:%%¦<&>colon;&nbsp;}²}²}}%%{{#if:{{{novol|}}}||«!--,--»<br>{{#if:{{{noVolLink|}}}||[[Sticker Pack]]:&nbsp;}}[[Sticker Pack/Vol %%|Vol %%]]}}}}\n
|tablerow          = %%{{#if:{{{mini|}}}||«!--,--»²{!}²<div style="text-align: center">{{#if:{{{noNeighbor|}}}||²{#if:%%¦[[²{#explode:%%¦;¦0}²]]}²²{#if:%%¦«!--,--»²{#if:%%¦<&>colon;&nbsp;}²}²}}%%{{#if:{{{novol|}}}||«!--,--»<br>{{#if:{{{noVolLink|}}}||[[Sticker Pack]]:&nbsp;}}[[Sticker Pack/Vol %%|Vol %%]]}}</div>}}\n
|ordermethod        = sortkey
|ordermethod        = sortkey
|offset            = 500
|offset            = 500

Revision as of 13:08, 5 April 2026

Template documentation
Note: parts of or the entire template might not be visible without values provided.

Standardizes the display of Sticker images on character /Gallery subpages.

Syntax

{{Sticker Files|character name}}

Examples

{{Sticker Files|Dorjelang}} yields:

{{Sticker Files|Dorjelang|noNeighbor = 1}} yields:

{{Sticker Files|Dorjelang|novol = 1}} yields:

{{Sticker Files|Dorjelang|noVolLink = 1}} yields:

{{Sticker Files|Dorjelang|nomain = 1}} yields:

{{Sticker Files|Dorjelang|mini = 1}} yields:

Template Data

Standardizes the display of Sticker Files on character /Gallery subpages.

Template parameters[Edit template data]

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Character Name1

Name of the character. Defaults to {{ROOTPAGENAME}}.

Default
{{ROOTPAGENAME}}
Example
Esassani
Stringrequired