Template:StoryLine: Difference between revisions

From The Unofficial Isekai:Slow Life Wiki
Jump to navigation Jump to search
m (Aligned.)
mNo edit summary
 
(13 intermediate revisions by the same user not shown)
Line 1: Line 1:
| style="width: 50px; text-align: center" | {{#ifeq:{{{actor|}}}|???|[[{{{actorlink|}}}|???]]|{{#if:{{{actor|}}}|[[{{{actor}}}]]|}}}}
{{#invoke:StoryLine|render}}<noinclude>
| {{{line}}}
|-
<noinclude>
<pre>
<pre>
{{StoryLine
{{StoryLine
   | actor     =  
   | actor     =
   | actorlink =  
  | actorNPC  =
   | line     =  }}
   | actorAlias =
  | actorLink  =  
   | line       =  }}
</pre>
</pre>
<templatedata>
<templatedata>
Line 14: Line 13:
"actor": {
"actor": {
"type": "string"
"type": "string"
},
"actorNPC": {
"description": "Used for NPCs without pages."
},
"actorAlias": {
"description": "Used if the actor uses a different epithet.",
"example": "\"???\" or \"Mysterious Voice\"",
"type": "string"
},
"actorLink": {
"description": "Specify the page link if it actorAlias is used."
},
},
"line": {
"line": {
"type": "string"
"type": "string"
},
"actorlink": {
"description": "Specify the page the actor is linked to if the actor is \"???\"."
}
}
},
},
Line 25: Line 32:
"paramOrder": [
"paramOrder": [
"actor",
"actor",
"actorlink",
"actorNPC",
"actorAlias",
"actorLink",
"line"
"line"
]
]

Latest revision as of 21:52, 5 July 2025

{{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