No edit summary |
No edit summary |
||
| (71 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
{{Documentation}} | {{Documentation}} | ||
<includeonly><onlyinclude> | <includeonly><onlyinclude> | ||
{{ | <hr style="clear: left;" id="{{{what}}}" /> | ||
<div class="infobox {{# | {{#css: | ||
<div class="infoicon {{#var:theme}}">[[File:icon- | td:nth-child(1) { vertical-align: top; font-weight: bold; } | ||
<div class="overbox {{#var:theme}}" style="width: 250px; height: 50px; font-family: monospace; font-weight: bolder; font-size:larger;" | td:nth-child(2) { vertical-align: bottom; } | ||
}} | |||
<div class="infobox {{#var:theme}}" style="margin-right: 15px; margin-left: 10px; float: left; width: 360px;"> | |||
<div class="infoicon {{#var:theme}}">[[File:icon-scene.svg|50px|link=]]</div> | |||
<div class="overbox {{#var:theme}}" style="width: 250px; min-height: 50px; font-family: monospace; font-weight: bolder; font-size:larger;" id="Scene {{#vardefineecho:scene|{{#expr:{{#var:scene}}+1}}}}";>Scene {{#vardefineecho:scene|{{#expr:{{#var:scene}}}}}}<br />{{{what|{{Required|what|Scene}}}}}</div> | |||
<div> | <div> | ||
{{TableSlim|{{#var:theme}}}} | {{TableSlim|{{#var:theme}}}} | ||
{{TableMid| | {{TableMid|Who|{{SplitLink|{{{who|{{Required|who|Episode}}}}}}}}} | ||
{{TableMid| | {{TableMid|When|{{LongTime|{{{when|{{Required|when|Episode}}}}}}} (Day {{#expr:1 + ({{#time: U|{{{when}}}}} - {{#time:U | 2059/12/19}})/(24*60*60)}}){{#if:{{{when2|}}}| through {{LongTime|{{{when2}}}}} (Day {{#expr:1 + ({{#time: U|{{{when2}}}}} - {{#time:U | 2059/12/19}})/(24*60*60)}})}}}} | ||
{{ | {{TableMid|Where|{{SplitLink|{{{where|{{Required|where|Episode}}}}}|in=,}} {{#if:{{{where2|}}}| {{{whereto|and}}} {{SplitLink|{{{where2|}}}|in=,}}}}}} | ||
{{TableMid| | |||
{{TableEnd}} | {{TableEnd}} | ||
</div> | </div> | ||
</div> | </div> | ||
</onlyinclude></includeonly> | </onlyinclude></includeonly> | ||
Latest revision as of 17:21, 10 December 2024
Template:Scene is used in the creation of Episode articles to split up the action by scene.
Usage
It has four mandatory parameter:
whois a semi-colon delimited list of Characters who appear in the scene.whatis a short description, the title of the scene.whenis the date of the scene, inYYYY/MM/DDformat.whereis the location of the scene, for parsing byTemplate:SplitLinks.
It also supports two optional parameters:
when2is used withwhento create a range of dates.where2is used withwhereto have two locations listed in the same scene.whereto(defaultand) requireswhere2to be set, and changes the word between the two references.
Returns
See any Episode for a working example.The documentation above was transcluded from Template:Scene/Documentation. [edit]
