Template:StoryLine: Difference between revisions

From The Unofficial Isekai:Slow Life Wiki
Jump to navigation Jump to search
m (Added more params.)
m (Changed width to 100px.)
 
(6 intermediate revisions by the same user not shown)
Line 1: Line 1:
| style="width: 50px; text-align: center;" |
|-
  {{#if:{{{actorPlain|}}}
| style="width: 100px; text-align: center;" |
    | {{{actorPlain}}}
{{#if:{{{actorNPC|}}}
    | {{#if:{{{actorAlias|}}}
| {{{actorNPC}}}
      | [[{{{actorLink|}}}|{{{actorAlias}}}]]
| {{#if:{{{actorAlias|}}}
      | {{#if:{{{actor|}}}|[[{{{actor}}}]]|}}
    | [[{{{actorLink|}}}|{{{actorAlias}}}]]
      }}
    | {{#if:{{{actor|}}}|[[{{{actor}}}]]|}}
  }}
  }}
}}
| {{{line}}}
| {{{line}}}
|-
<noinclude>
<noinclude>
<pre>
<pre>
{{StoryLine
{{StoryLine
   | actor      =  
   | actor      =  
   | actorPlain =
   | actorNPC  =
   | actorAlias =  
   | actorAlias =  
   | actorLink  =  
   | actorLink  =  
Line 24: Line 24:
"type": "string"
"type": "string"
},
},
"actorPlain": {},
"actorNPC": {
"actorAlias": {},
"description": "Used for NPCs without pages."
},
"actorAlias": {
"description": "Used if the actor uses a different epithet.",
"example": "\"???\" or \"Mysterious Voice\"",
"type": "string"
},
"actorLink": {
"actorLink": {
"description": "Specify the page the url if it actorAlias is used."
"description": "Specify the page link if it actorAlias is used."
},
},
        "line": {
"line": {
"type": "string"
"type": "string"
        }
}
},
},
"description": "This template is for creating lines in [[Template:Chapter]].",
"description": "This template is for creating lines in [[Template:Chapter]].",
"paramOrder": [
"paramOrder": [
"actor",
"actor",
        "actorPlain",
"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]].

[Edit template data]

Template parameters

ParameterDescriptionTypeStatus
actoractor

no description

Stringoptional
actorNPCactorNPC

Used for NPCs without pages.

Unknownoptional
actorAliasactorAlias

Used if the actor uses a different epithet.

Example
"???" or "Mysterious Voice"
Stringoptional
actorLinkactorLink

Specify the page link if it actorAlias is used.

Unknownoptional
lineline

no description

Stringoptional