Template:Infobox Scene
From Edge of Darkness Wiki
Infobox Scene
m |
m |
||
| 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: {{{Venue|}}}|{{#set:Event for={{{Venue|}}}}}{{header|{{{Venue|}}}}}|}}{{Infobox | ||
|name = Infobox Scene | |name = Infobox Scene | ||
| - | |bodyclass = {{#switch: {{{ | + | |bodyclass = {{#switch: {{{Venue|}}} |
| - | | | + | | Changeling = ctlback |
| - | | | + | | Mage = mtaback |
| - | | | + | | Vampire = vtrback |
|grade03 | |grade03 | ||
}} | }} | ||
| - | |bodystyle = {{#switch: {{{ | + | |bodystyle = {{#switch: {{{Venue|}}} |
| - | | | + | | Changeling = margin-left: 10px; border-radius: 5px; |
| - | | | + | | Mage = margin-left: 10px; border-radius: 5px; |
| - | | | + | | Vampire = margin-left: 10px; border-radius: 5px; |
|min-width: 200px; padding: 5px; border: 1px solid #ff9933; border-radius: 5px; margin-left: 7px; | |min-width: 200px; padding: 5px; border: 1px solid #ff9933; border-radius: 5px; margin-left: 7px; | ||
}} | }} | ||
| - | |titlestyle = {{#switch: {{{ | + | |titlestyle = {{#switch: {{{Venue|}}} |
| - | | | + | | Vampire = background: #330000; border-top-right-radius: 5px; border-top-left-radius: 5px; |
| | | | ||
}} | }} | ||
| Line 21: | Line 21: | ||
|[[Image:{{{Location|}}}.jpg|border|200px|{{{Location|}}}]] | |[[Image:{{{Location|}}}.jpg|border|200px|{{{Location|}}}]] | ||
}} | }} | ||
| - | |headerstyle = padding: 5px; text-align:center; border: 1px solid {{#switch: {{{ | + | |headerstyle = padding: 5px; text-align:center; border: 1px solid {{#switch: {{{Venue|}}} | c = green | g = purple | h = green | m = cyan | p = purple | v = #800000 | w = sienna | #1a1a1a}}; background: #1a1a1a; |
|header1 = | |header1 = | ||
|labelstyle = font-weight: bold; text-align: right; color: #ff9933; | |labelstyle = font-weight: bold; text-align: right; color: #ff9933; | ||
Revision as of 20:22, 20 April 2016
[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 + |