Welcome to our new Skyland! Article rewrites are welcome. If you see any missing images, please feel free to add them. Please use the Aboutfile template when uploading and add categories.
We are also aware of some articles being unavailable. Please bear with us while we are working to get them fixed.

Template:Itembox: Difference between revisions

From Skylanders Wiki
Created page with "<infobox> <title source="title1"> <default>{{PAGENAME}}</default> </title> <image source="image1"> <caption source="caption1"/> </image> <data source="row1">..."
 
WIP, testing phase
Tag: sourceedit
Line 1: Line 1:
<infobox>
<infobox layout="stacked" theme-source="element">
  <title source="title1">
<data source="alignment"><format>{{Itembox/Align|alignment={{{alignment|}}}|element={{{element|}}}|terrain={{{terrain|}}}}}</format></data>
    <default>{{PAGENAME}}</default>
<title source="name"><default>{{PAGENAME}}</default></title>
  </title>
<image source="image"/>
  <image source="image1">
<data source="type"><label>Type:</label></data>
    <caption source="caption1"/>
<data source="function"><label>Function:</label></data>
  </image>
<data source="world"><label>World:</label></data>
  <data source="row1">
<data source="appearances"><label>Appears in:</label></data>
    <label>Label</label>
<data source="cameos"><label>Cameos:</label></data>
  </data>
<data source="attack"><label>Attacks:</label></data>
  <data source="row2">
<data source="firstrelease"><label>First Release:</label></data>
    <label>Label</label>
  </data>
</infobox>
</infobox>
<noinclude>
<noinclude>
Example usage:<pre>
 
==Usage & preview==
Type in this:
<pre>
{{Itembox
{{Itembox
|title1=Example
|alignment=accepted values: pandergast/villain/element, leave blank to disable
|image1=Example
|element=
|caption1=Example
|terrain=
|row1=Example
|name=
|row2=Example
|image=
|type=
|function=
|world=
|appearances=
|cameos=
|attack=
|firstrelease=
}}
}}
</pre>
</pre>
to see this:
{{Characterbox
|alignment=
|element=
|terrain=
|name=This is a test
|image=This is a test
|type=This is a test
|function=This is a test
|world=This is a test
|appearances=This is a test
|cameos=This is a test
|attack=This is a test
|firstrelease=This is a test
}}
[{{fullurl:{{ns:Template}}:{{PAGENAME}}}}?action=purge Click here to refresh the preview above]
</noinclude>
</noinclude>

Revision as of 03:55, December 23, 2016

<infobox layout="stacked" theme-source="element"> <format></format> <title source="name"><default>Itembox</default></title> <image source="image"/> <label>Type:</label> <label>Function:</label> <label>World:</label> <label>Appears in:</label> <label>Cameos:</label> <label>Attacks:</label> <label>First Release:</label> </infobox>


Usage & preview

Type in this:

{{Itembox
|alignment=accepted values: pandergast/villain/element, leave blank to disable
|element=
|terrain=
|name=
|image=
|type=
|function=
|world=
|appearances=
|cameos=
|attack=
|firstrelease=
}}

to see this:

This is a test
This is a test
World: This is a test
Attacks: This is a test
Appears in: This is a test
Cameos: This is a test
First Release: This is a test

Click here to refresh the preview above