Template:StoryLine: Difference between revisions

From The Unofficial Isekai:Slow Life Wiki
Jump to navigation Jump to search
m (Added ??? condition.)
mNo edit summary
 
(15 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": {
Line 19: Line 29:
}
}
},
},
"description": "This template is for creating lines in [[Template:Chapter]]."
"description": "This template is for creating lines in [[Template:Chapter]].",
"paramOrder": [
"actor",
"actorNPC",
"actorAlias",
"actorLink",
"line"
]
}
}
</templatedata>
</templatedata>
</noinclude>
</noinclude>

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