Template:Infobox Scene
From Edge of Darkness Wiki
Infobox Scene
m |
|||
(15 intermediate revisions not shown) | |||
Line 1: | Line 1: | ||
- | <includeonly>{{#set: Page has default form=Scene Editor }}{{#if: {{{Venue|}}}|{{#set:Event for={{{Venue|}}}}}{{header|{{{Venue|}}}}}|}}{{Infobox | + | <includeonly>{{#set: Page has default form=Scene Editor }}{{#if: {{{STs|}}} |{{#arraymap:{{{STs|}}}|,|yyy|{{#set:Story Told By=yyy}}|}} |}}{{#if: {{{Venue|}}}|{{#set:Event for={{{Venue|}}}}}{{header|{{{Venue|}}}}}|}}{{Infobox |
|name = Infobox Scene | |name = Infobox Scene | ||
|bodyclass = {{#switch: {{{Venue|}}} | |bodyclass = {{#switch: {{{Venue|}}} | ||
Line 26: | Line 26: | ||
|label1 = Location | |label1 = Location | ||
|data1 = {{#if:{{{Location|}}}|'''[[Location::Scene::{{{Location|}}}]]'''}} | |data1 = {{#if:{{{Location|}}}|'''[[Location::Scene::{{{Location|}}}]]'''}} | ||
- | | | + | |
- | | | + | |label6 = Date Began |
- | | | + | |data6 = [[Sacramento date::{{{Date|}}}]]{{#set:{{{Venue|}}} start={{{Date|}}} }} |
- | | | + | |
+ | |label7 = Date Ended | ||
+ | |data7 = {{#if: {{{Date2|}}} | ||
+ | |[[{{{Venue|}}} end::{{{Date2|}}} ]] | ||
+ | | | ||
+ | }} | ||
+ | |||
+ | |label8 = Storyteller(s) | ||
+ | |data8 = {{#show: {{PAGENAME}} |?Story Told By }} | ||
+ | |||
+ | |||
+ | |||
+ | |belowstyle = text-align: left; font-size: 90%; | ||
+ | |below = {{{below|}}} | ||
+ | |||
+ | |||
|header4 = | |header4 = | ||
|label5 = | |label5 = | ||
- | |data5 = {{#if: {{{Cast|}}}|{{#set:To Do List=Cast Tags}}{{{Cast|}}}|}}{{#if: {{{Cast2|}}}|{{# | + | |data5 = {{#if: {{{Cast|}}}|{{#set:To Do List=Cast Tags}}{{{Cast|}}}|}}{{#if: {{{Cast2|}}} |
- | }}{{#if: {{{Venue|}}}|{{#set:Event for={{{Venue|}}}}}|{{#switch: {{{1}}} | + | |{{#arraydefine:cast|{{{Cast2|}}}|,}}{{#arraysort:cast|asc}}{{#arraymap:{{#arrayprint:cast|,}}|,|xxx|{{Cast|xxx}}| }} |
+ | | | ||
+ | }} | ||
+ | }}{{#if: {{{Venue|}}}|{{#set:Event for={{{Venue|}}}}}[[Category:{{{Venue|}}} Scenes]]|{{#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 43: | Line 61: | ||
| 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> |
Latest revision as of 14:58, 11 April 2017
[edit] [ ] 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:
|
The above documentation is transcluded from Template:Infobox Scene/doc. (edit | history) Editors can experiment in this template's sandbox (create). Subpages of this template:
|
Facts about Infobox SceneRDF feed
Cast | Biggie Smalls +, and P Diddy + |
Event for | Mage + |
Mage start | 9 March 1997 + |
Page has default formThis property is a special property in this wiki. | Scene Editor + |
Story Told By | West +, and Tsameti + |