Difference between revisions of "Template:Textitem"

m
 
Line 1: Line 1:
<div style="display:inline-block; width:{{#expr: {{#if: {{{px|}}} | {{{px}}} | 22 }}*{{#if: {{{width|}}} | {{{width}}} | 1 }} }}px; height:{{#expr: {{#if: {{{px|}}} | {{{px}}} | 22 }}*{{#if: {{{height|}}} | {{{height}}} | 1 }} }}px; vertical-align: middle; position: relative; top:0px; left:0px; line-height: 0%;">[[File:Background.png|{{#if: {{{px|}}} | {{{px}}} | 22 }}px|link=]]{{#switch: {{{width|}}}| 2=[[File:Background.png|{{#if: {{{px|}}} | {{{px}}} | 22 }}px|link=]]| 3=[[File:Background.png|{{#if: {{{px|}}} | {{{px}}} | 22 }}px|link=]][[File:Background.png|{{#if: {{{px|}}} | {{{px}}} | 22 }}px|link=]]}}{{#switch: {{{height|}}}| 2=<br />[[File:Background.png|{{#if: {{{px|}}} | {{{px}}} | 22 }}px|link=]]{{#switch: {{{width|}}}| 2=[[File:Background.png|{{#if: {{{px|}}} | {{{px}}} | 22 }}px|link=]]| 3=[[File:Background.png|{{#if: {{{px|}}} | {{{px}}} | 22 }}px|link=]][[File:Background.png|{{#if: {{{px|}}} | {{{px}}} | 22 }}px|link=]]}}| 3=<br />[[File:Background.png|{{#if: {{{px|}}} | {{{px}}} | 22 }}px|link=]]{{#switch: {{{width|}}}| 2=[[File:Background.png|{{#if: {{{px|}}} | {{{px}}} | 22 }}px|link=]]<br />[[File:Background.png|{{#if: {{{px|}}} | {{{px}}} | 22 }}px|link=]][[File:Background.png|{{#if: {{{px|}}} | {{{px}}} | 22 }}px|link=]]| 3=[[File:Background.png|{{#if: {{{px|}}} | {{{px}}} | 22 }}px|link=]][[File:Background.png|{{#if: {{{px|}}} | {{{px}}} | 22 }}px|link=]]<br />[[File:Background.png|{{#if: {{{px|}}} | {{{px}}} | 22 }}px|link=]][[File:Background.png|{{#if: {{{px|}}} | {{{px}}} | 22 }}px|link=]][[File:Background.png|{{#if: {{{px|}}} | {{{px}}} | 22 }}px|link=]]}}{{#ifeq: {{{width|}}} | |<br />[[File:Background.png|{{#if: {{{px|}}} | {{{px}}} | 22 }}px|link=]]}} }}<div style="position:absolute;top:0px;width:{{#expr: {{#if: {{{px|}}} | {{{px}}} | 22 }}*{{#if: {{{width|}}} | {{{width}}} | 1 }} }}px; height:{{#expr: {{#if: {{{px|}}} | {{{px}}} | 22 }}*{{#if: {{{height|}}} | {{{height}}} | 1 }} }}px;"><includeonly>[[File:{{#switch: {{{1}}} | Azrael's Chest | Nine Tail's Chest | Demon King Chest | Flame King Chest | Queen Spider Chest | Chief Orc Chest | Giant Tortoise Chest | Death Reaper Chest | Yellow Tiger's Chest | Jewelry Box = Yellow Tiger's Chest | Wolf Seal (yellow) | Tiger Seal (yellow) | Lion Seal (yellow) | Wild Boar Seal (yellow) = Seal (yellow) | Lion Certificate | Tiger Certificate | Reindeer Certificate (m) | Wild Boar Certificate | Wolf Certificate | Reindeer Certificate (f) = Certificate | Fez | Keffiyeh | Jack O' | Samurai Helm | Desert Scarf | Turban | Headscarf | Afro | Flower Hat = Hairstyles | Apprentice Chest I | Apprentice Chest II | Apprentice Chest III  = Apprentice Chest | Expert Chest I | Expert Chest II | Expert Chest III = Expert Chest | Master Chest I | Master Chest II | Master Chest III = Master Chest | {{#if: {{{File|}}} | {{{File}}} | {{{1}}} }} }}.png|{{#expr: {{#if: {{{px|}}} | {{{px}}} | 22 }}*{{#if: {{{width|}}} | {{{width}}} | 1 }} }}px|{{#if: {{{link|}}} | link={{{link}}} | link={{{1}}} }}]]</includeonly></div></div> [[{{#if: {{{2|}}} | {{{1}}}{{!}}{{{2}}} | {{{1}}} }}]]<noinclude>
+
<span style="display:inline-block; width:{{#expr: {{#if: {{{px|}}} | {{{px}}} | 22 }}*{{#if: {{{width|}}} | {{{width}}} | 1 }} }}px; height:{{#expr: {{#if: {{{px|}}} | {{{px}}} | 22 }}*{{#if: {{{height|}}} | {{{height}}} | 1 }} }}px; vertical-align: middle; position: relative; top:0px; left:0px; line-height: 0%;">[[File:Background.png|{{#if: {{{px|}}} | {{{px}}} | 22 }}px|link=]]{{#switch: {{{width|}}}| 2=[[File:Background.png|{{#if: {{{px|}}} | {{{px}}} | 22 }}px|link=]]| 3=[[File:Background.png|{{#if: {{{px|}}} | {{{px}}} | 22 }}px|link=]][[File:Background.png|{{#if: {{{px|}}} | {{{px}}} | 22 }}px|link=]]}}{{#switch: {{{height|}}}| 2=<br />[[File:Background.png|{{#if: {{{px|}}} | {{{px}}} | 22 }}px|link=]]{{#switch: {{{width|}}}| 2=[[File:Background.png|{{#if: {{{px|}}} | {{{px}}} | 22 }}px|link=]]| 3=[[File:Background.png|{{#if: {{{px|}}} | {{{px}}} | 22 }}px|link=]][[File:Background.png|{{#if: {{{px|}}} | {{{px}}} | 22 }}px|link=]]}}| 3=<br />[[File:Background.png|{{#if: {{{px|}}} | {{{px}}} | 22 }}px|link=]]{{#switch: {{{width|}}}| 2=[[File:Background.png|{{#if: {{{px|}}} | {{{px}}} | 22 }}px|link=]]<br />[[File:Background.png|{{#if: {{{px|}}} | {{{px}}} | 22 }}px|link=]][[File:Background.png|{{#if: {{{px|}}} | {{{px}}} | 22 }}px|link=]]| 3=[[File:Background.png|{{#if: {{{px|}}} | {{{px}}} | 22 }}px|link=]][[File:Background.png|{{#if: {{{px|}}} | {{{px}}} | 22 }}px|link=]]<br />[[File:Background.png|{{#if: {{{px|}}} | {{{px}}} | 22 }}px|link=]][[File:Background.png|{{#if: {{{px|}}} | {{{px}}} | 22 }}px|link=]][[File:Background.png|{{#if: {{{px|}}} | {{{px}}} | 22 }}px|link=]]}}{{#ifeq: {{{width|}}} | |<br />[[File:Background.png|{{#if: {{{px|}}} | {{{px}}} | 22 }}px|link=]]}} }}<span style="position:absolute;top:0px; left:0px; width:{{#expr: {{#if: {{{px|}}} | {{{px}}} | 22 }}*{{#if: {{{width|}}} | {{{width}}} | 1 }} }}px; height:{{#expr: {{#if: {{{px|}}} | {{{px}}} | 22 }}*{{#if: {{{height|}}} | {{{height}}} | 1 }} }}px;"><includeonly>[[File:{{#switch: {{{1}}} | Azrael's Chest | Nine Tail's Chest | Demon King Chest | Flame King Chest | Queen Spider Chest | Chief Orc Chest | Giant Tortoise Chest | Death Reaper Chest | Yellow Tiger's Chest | Jewelry Box = Yellow Tiger's Chest | Wolf Seal (yellow) | Tiger Seal (yellow) | Lion Seal (yellow) | Wild Boar Seal (yellow) = Seal (yellow) | Lion Certificate | Tiger Certificate | Reindeer Certificate (m) | Wild Boar Certificate | Wolf Certificate | Reindeer Certificate (f) = Certificate | Fez | Keffiyeh | Jack O' | Samurai Helm | Desert Scarf | Turban | Headscarf | Afro | Flower Hat = Hairstyles | Apprentice Chest I | Apprentice Chest II | Apprentice Chest III  = Apprentice Chest | Expert Chest I | Expert Chest II | Expert Chest III = Expert Chest | Master Chest I | Master Chest II | Master Chest III = Master Chest | {{#if: {{{File|}}} | {{{File}}} | {{{1}}} }} }}.png|{{#expr: {{#if: {{{px|}}} | {{{px}}} | 22 }}*{{#if: {{{width|}}} | {{{width}}} | 1 }} }}px|{{#if: {{{link|}}} | link={{{link}}} | link={{{1}}} }}]]</includeonly></span></span> [[{{#if: {{{2|}}} | {{{1}}}{{!}}{{{2}}} | {{{1}}} }}]]<noinclude>

Latest revision as of 13:57, 18 July 2019

Background.png [[{{{1}}}]]