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

From Skylanders Wiki
Aura24 (talk | contribs)
No edit summary
Tag: sourceedit
Aura24 (talk | contribs)
Infobox updated using the portable infobox migration tool
Line 1: Line 1:
{|style="border:solid 3px #00BFFF; -moz-border-radius:10px; float:right;" width="400px"
<infobox>
|- valign="top"
<title source="name"><default>{{PAGENAME}}</default></title>
{{#if: {{{name|}}}|
<image source="image"/>
{{!}} class="ussi" colspan="2" style="text-align:center; font-size: large; background:#00BFFF; -moz-border-radius-topleft: 0.5em; -moz-border-radius-topright: 0.5em;"{{!}}  
<data source="genre"><label>'''Genre(s):'''</label></data>
{{{name|}}}}}
<data source="develop"><label>'''Developed by:'''</label></data>
|- valign="top"
<data source="writer"><label>'''Written by:'''</label></data>
{{#if: {{{image|}}}|
<data source="director"><label>'''Directed by:'''</label></data>
{{!}} class="ussi" colspan="2" style="text-align:center; background:#FFFFFF"{{!}}
<data source="producer"><label>'''Produced by:'''</label></data>
{{{image|}}}}}
<data source="broadcast"><label>'''Broadcast:'''</label></data>
|- valign="top"
<data source="episode"><label>'''Episodes:'''</label></data>
{{#if:{{{genre|}}} |
<data source="runningtime"><label>'''Running time:'''</label></data>
! class="ussl" style="background:#4169E1" width="44%" {{!}} '''Genre(s):'''
<data source="originalrelease"><label>'''Original release:'''</label></data>
{{!}} class="ussr" style="background:#6495ED" {{!}} {{{genre|}}}
<data source="composers"><label>'''Composers:'''</label></data>
}}
</infobox>
|- valign="top"
<noinclude>
{{#if:{{{develop|}}} |
== Usage & preview ==
! class="ussl" style="background:#4169E1" width="44%" {{!}} '''Developed by:'''
Type in this:
{{!}} class="ussr" style="background:#6495ED" {{!}} {{{develop|}}}
 
}}
|- valign="top"
{{#if:{{{writer|}}} |
! class="ussl" style="background:#4169E1" width="44%" {{!}} '''Written by:'''
{{!}} class="ussr" style="background:#6495ED" {{!}} {{{writer|}}}
}}
|- valign="top"
{{#if:{{{director|}}} |
! class="ussl" style="background:#4169E1" width="44%" {{!}} '''Directed by:'''
{{!}} class="ussr" style="background:#6495ED" {{!}} {{{director|}}}
}}
|- valign="top"
{{#if:{{{producer|}}} |
! class="ussl" style="background:#4169E1" width="44%" {{!}} '''Produced by:'''
{{!}} class="ussr" style="background:#6495ED" {{!}} {{{producer|}}}
}}
|- valign="top"
{{#if:{{{broadcast|}}} |
! class="ussl" style="background:#4169E1" width="44%" {{!}} '''Broadcast:'''
{{!}} class="ussr" style="background:#6495ED" {{!}} {{{broadcast|}}}
}}
|- valign="top"
{{#if:{{{episode|}}} |
! class="ussl" style="background:#4169E1" width="44%" {{!}} '''Episodes:'''
{{!}} class="ussr" style="background:#6495ED" {{!}} {{{episode|}}}
}}
|- valign="top"
{{#if:{{{runningtime|}}} |
! class="ussl" style="background:#4169E1" width="44%" {{!}} '''Running time:'''
{{!}} class="ussr" style="background:#6495ED" {{!}} {{{runningtime|}}}
}}
|- valign="top"
{{#if:{{{originalrelease|}}} |
! class="ussl" style="background:#4169E1" width="44%" {{!}} '''Original release:'''
{{!}} class="ussr" style="background:#6495ED" {{!}} {{{originalrelease|}}}
}}
|- valign="top"
{{#if:{{{composers|}}} |
! class="ussl" style="background:#4169E1" width="44%" {{!}} '''Composers:'''
{{!}} class="ussr" style="background:#6495ED" {{!}} {{{composers}}}
}}
|}<noinclude>
This template is used to display a character box on a page. To use this template, add this code:
<pre>
<pre>
{{Characterbox
{{Media
|name = optional (leave empty to automatically use the article name)
|name=
|image = optional (leave empty to automatically use a 250px sized jpg with the article's name)
|image=
|genre = optional
|genre=
|develop = optional
|develop=
|writer = optional
|writer=
|director = optional (start with capital letter to activate recolor function)
|director=
|producer = optional
|producer=
|broadcast= the network where the media is played on
|broadcast=
|episode = the number of episodes has been made for the selected mehia
|episode=
|runningtime= how many minutes each episode is
|runningtime=
|originalrelease = when the show started and ended
|originalrelease=
|composers = the individuals responsible for the music
|composers=
}}
}}
</pre>
</pre>
[[Category:Template]]
 
to see this:
 
{{Media
|name=This is a test
|image=This is a test
|genre=This is a test
|develop=This is a test
|writer=This is a test
|director=This is a test
|producer=This is a test
|broadcast=This is a test
|episode=This is a test
|runningtime=This is a test
|originalrelease=This is a test
|composers=This is a test
}}
 
 
[{{fullurl:{{ns:Template}}:{{PAGENAME}}}}?action=purge Click here to refresh the preview above]
</noinclude>
</noinclude>

Revision as of 09:54, December 24, 2015

<infobox> <title source="name"><default>Media</default></title> <image source="image"/> <label>Genre(s):</label> <label>Developed by:</label> <label>Written by:</label> <label>Directed by:</label> <label>Produced by:</label> <label>Broadcast:</label> <label>Episodes:</label> <label>Running time:</label> <label>Original release:</label> <label>Composers:</label> </infobox>

Usage & preview

Type in this:

{{Media
|name=
|image=
|genre=
|develop=
|writer=
|director=
|producer=
|broadcast=
|episode=
|runningtime=
|originalrelease=
|composers=
}}

to see this:

<infobox> <title source="name"><default>Media</default></title> <image source="image"/> <label>Genre(s):</label> <label>Developed by:</label> <label>Written by:</label> <label>Directed by:</label> <label>Produced by:</label> <label>Broadcast:</label> <label>Episodes:</label> <label>Running time:</label> <label>Original release:</label> <label>Composers:</label> </infobox>


Click here to refresh the preview above