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:SBook: Difference between revisions

From Skylanders Wiki
Aura24 (talk | contribs)
No edit summary
Tag: sourceedit
Aura24 (talk | contribs)
No edit summary
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>
{| class="infobox" style="background:#DDEEFF; border:1px solid #0F378C"
{|class="infobox" style="border:solid 3px #008B8B; -moz-border-radius:10px; float:right;" width="400px"
|-
|- valign="top"
! colspan="2" style="background-color:#1493ff;color:white;font-size:125%"| {{{name|{{PAGENAME}}}}}
{{#if: {{{name|}}}|
|-
{{!}} class="ussi" colspan="2" style="text-align:center; font-size: large; background:#20B2AA; -moz-border-radius-topleft: 0.5em; -moz-border-radius-topright: 0.5em;"{{!}}  
| style="text-align:center" colspan="2" | {{{image|}}}
{{{name|}}}}}
|- style="vertical-align: top"
|- valign="top"
{{#if:{{{author|}}}|{{!}}-style="background:#b6daff"
{{#if: {{{image|}}}|
{{!}} '''Author:'''
{{!}} class="ussi" colspan="2" style="text-align:center; background:#FFFFFF"{{!}}  
{{!}} {{{author}}}
{{{image|}}}}}
|}}
|- valign="top"
|- style="vertical-align: top"
{{#if:{{{author|}}} |
{{#if:{{{publish|}}}|{{!}}-style="background:#b6daff"
! class="ussl" style="background:#20B2AA" width="44%" {{!}} '''Author:'''
{{!}} '''Publisher:'''
{{!}} class="ussr" style="background:#66CDAA" {{!}} {{{author|}}}
{{!}} {{{publish}}}
|}}
|- style="vertical-align: top"
{{#if:{{{release date|}}}|{{!}}-style="background:#b6daff"
{{!}} '''Release Date:'''
{{!}} {{{release date}}}
|}}
|- style="vertical-align: top;"
{{#if:{{{pages|}}}|{{!}}-style="background:#b6daff"
{{!}} '''Pages:'''
{{!}} {{{pages}}}
|}}
|- style="vertical-align: top"
{{#if:{{{art|}}}|{{!}}-style="background:#b6daff"
{{!}} '''Art:'''
{{!}} {{{art}}}
|}}
|- style="vertical-align: top"
{{#if:{{{category|}}}|{{!}}-style="background:#b6daff"
{{!}} '''Category:'''
{{!}} {{{category}}}
|}}
|- style="vertical-align: top"
{{#if:{{{based on|}}}|{{!}}-style="background:#b6daff"
{{!}} '''Based on:'''
{{!}} {{{based on}}}
|}}
|}<noinclude>
 
== Usage & preview ==
Type in this:
 
<pre>
{{SBook
|name=
|image=
|author=
|publish=
|release date=
|pages=
|art=
|category=
|based on=
}}
}}
|- valign="top"
 
{{#if:{{{publish|}}} |
</pre>
! class="ussl" style="background:#20B2AA" width="44%" {{!}} '''Publisher(s):'''
 
{{!}} class="ussr" style="background:#66CDAA" {{!}} {{{publish|}}}
to see this:
}}
 
|- valign="top"
{{SBook
{{#if:{{{release date|}}} |
|name=This is a test
! class="ussl" style="background:#20B2AA" width="44%" {{!}} '''Release Date:'''
|image=This is a test
{{!}} class="ussr" style="background:#66CDAA" {{!}} {{{release date|}}}
|author=This is a test
}}
|publish=This is a test
|- valign="top"
|release date=This is a test
{{#if:{{{pages|}}} |
|pages=This is a test
! class="ussl" style="background:#20B2AA" width="44%" {{!}} '''Pages:'''
|art=This is a test
{{!}} class="ussr" style="background:#66CDAA" {{!}} {{{pages|}}}
|category=This is a test
}}
|based on=This is a test
|- valign="top"
{{#if: {{{art|}}}|
! class="ussl" style="background:#20B2AA" width="44%" {{!}} '''Art by:'''
{{!}} class="ussr" style="background:#66CDAA" {{!}} {{{art|}}}
}}
|- valign="top"
{{#if:{{{category|}}} |
! class="ussl" style="background:#20B2AA" width="44%" {{!}} '''Category:'''
{{!}} class="ussr" style="background:#66CDAA" {{!}} {{{category|}}}
}}
|- valign="top"
{{#if:{{{based on|}}} |
! class="ussl" style="background:#20B2AA" width="44%" {{!}} '''Based on:'''
{{!}} class="ussr" style="background:#66CDAA" {{!}} <i>{{{based on|}}}</i>
}}
}}
|}
</includeonly><noinclude>




This is a template used on the books related to Skylanders and should be placed at the top of the articles. To use it, simply add the following code to a page:
[{{fullurl:{{ns:Template}}:{{PAGENAME}}}}?action=purge Click here to refresh the preview above]
<pre>{{SBook}}</pre>
</noinclude>

Latest revision as of 03:34, May 28, 2025

SBook

Usage & preview

Type in this:

{{SBook
|name=
|image=
|author=
|publish=
|release date=
|pages=
|art=
|category=
|based on=
}}

to see this:

This is a test
This is a test
Author: This is a test
Publisher: This is a test
Release Date: This is a test
Pages: This is a test
Art: This is a test
Category: This is a test
Based on: This is a test


Click here to refresh the preview above