Template:Infobox Scene

From Edge of Darkness Wiki

Infobox Scene
Jump to: navigation, search
m
m
Line 30: Line 30:
|label5      =  
|label5      =  
|data5      = {{{Cast|}}}{{#if: {{{Cast2|}}}|{{#arraymap:{{{Cast2|}}}|,|xxx|{{Cast|xxx}}| }}|}}
|data5      = {{{Cast|}}}{{#if: {{{Cast2|}}}|{{#arraymap:{{{Cast2|}}}|,|xxx|{{Cast|xxx}}| }}|}}
-
}}{{#switch: {{{1}}}  
+
}}{{#if: {{{Venue|}}}|{{#set:Event for={{{Venue|}}}}}|{{#switch: {{{1}}}  
| c = [[Category:Changeling Scenes]]{{#set:Event for=Changeling}}
| c = [[Category:Changeling Scenes]]{{#set:Event for=Changeling}}
| g = [[Category:Minor Scenes]]{{#set:Event for=Changeling}}
| g = [[Category:Minor Scenes]]{{#set:Event for=Changeling}}
Line 40: Line 40:
| w = [[Category:Werewolf Scenes]]{{#set:Event for=Werewolf}}
| w = [[Category:Werewolf Scenes]]{{#set:Event for=Werewolf}}
| [[Category:Minor Scenes]]{{#set:Event for=Minor}}  
| [[Category:Minor Scenes]]{{#set:Event for=Minor}}  
-
}}</includeonly><noinclude>{{documentation}}[[Category:Player Use Templates]]</noinclude>
+
}}}}</includeonly><noinclude>{{documentation}}[[Category:Player Use Templates]]</noinclude>

Revision as of 20:18, 20 April 2016

[edit] [purge] Template documentation

This Infobox is for usage on Scene pages. It uses the following switches:

  • Location =
  • Date = called in the following format: DD MONTH YYYY
  • Image = just the file name
  • Cast = the list of characters, separated by commas.
  • StorytellerX = who the ST was that ran the Scene or Story. Preface the name(s) with "User:" and separate with commas.

For example:

{{Infobox Scene
|Venue    = Mage
|Location = Cali
|Date     = 09 March 1997
|Image    = Park.jpg
|Cast2    = Biggie Smalls,P Diddy
|STs      = User:West, User:tsameti
}}

Which produces:

Cali
Location Cali
Something's wrong!
Something's wrong!
Date Began 09 March 1997
This box: view · talk
Facts about Infobox SceneRDF feed
CastBiggie Smalls  +, and P Diddy  +
Event forMage  +
Mage start9 March 1997  +
Page has default formThis property is a special property in this wiki.Scene Editor  +
Story Told ByWest  +, and Tsameti  +
Personal tools
Namespaces
Variants
Actions
Navigation
games
Toolbox