Template:StoryLine: Difference between revisions
Jump to navigation
Jump to search
FaeriMagic (talk | contribs) m (Moved line indicator.) |
FaeriMagic (talk | contribs) m (Changed width to 100px.) |
||
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
|- | |- | ||
| style="width: | | style="width: 100px; text-align: center;" | | ||
{{#if:{{{ | {{#if:{{{actorNPC|}}} | ||
| {{{actorNPC}}} | |||
| {{#if:{{{actorAlias|}}} | |||
| [[{{{actorLink|}}}|{{{actorAlias}}}]] | |||
| {{#if:{{{actor|}}}|[[{{{actor}}}]]|}} | |||
}} | |||
}} | }} | ||
| {{{line}}} | | {{{line}}} | ||
Line 13: | Line 13: | ||
{{StoryLine | {{StoryLine | ||
| actor = | | actor = | ||
| | | actorNPC = | ||
| actorAlias = | | actorAlias = | ||
| actorLink = | | actorLink = | ||
Line 24: | Line 24: | ||
"type": "string" | "type": "string" | ||
}, | }, | ||
" | "actorNPC": { | ||
"description": "Used for NPCs without pages." | "description": "Used for NPCs without pages." | ||
}, | }, | ||
Line 42: | Line 42: | ||
"paramOrder": [ | "paramOrder": [ | ||
"actor", | "actor", | ||
" | "actorNPC", | ||
"actorAlias", | "actorAlias", | ||
"actorLink", | "actorLink", |
Latest revision as of 01:29, 20 June 2025
|- | style="width: 100px; text-align: center;" |
| {{{line}}}
{{StoryLine | actor = | actorNPC = | actorAlias = | actorLink = | line = }}
This template is for creating lines in [[Template:Chapter]].
Parameter | Description | Type | Status | |
---|---|---|---|---|
actor | actor | no description | String | optional |
actorNPC | actorNPC | Used for NPCs without pages. | Unknown | optional |
actorAlias | actorAlias | Used if the actor uses a different epithet.
| String | optional |
actorLink | actorLink | Specify the page link if it actorAlias is used. | Unknown | optional |
line | line | no description | String | optional |