Template:StoryLine: Difference between revisions

From The Unofficial Isekai:Slow Life Wiki
Jump to navigation Jump to search
m (Aligned.)
m (Added more params.)
Line 1: Line 1:
| style="width: 50px; text-align: center" | {{#ifeq:{{{actor|}}}|???|[[{{{actorlink|}}}|???]]|{{#if:{{{actor|}}}|[[{{{actor}}}]]|}}}}
| style="width: 50px; text-align: center;" |
  {{#if:{{{actorPlain|}}}
    | {{{actorPlain}}}
    | {{#if:{{{actorAlias|}}}
      | [[{{{actorLink|}}}|{{{actorAlias}}}]]
      | {{#if:{{{actor|}}}|[[{{{actor}}}]]|}}
      }}
  }}
| {{{line}}}
| {{{line}}}
|-
|-
Line 5: Line 12:
<pre>
<pre>
{{StoryLine
{{StoryLine
   | actor     =  
   | actor     =
   | actorlink =  
  | actorPlain =
   | line     =  }}
   | actorAlias =
  | actorLink  =  
   | line       =  }}
</pre>
</pre>
<templatedata>
<templatedata>
Line 15: Line 24:
"type": "string"
"type": "string"
},
},
"line": {
"actorPlain": {},
"actorAlias": {},
"actorLink": {
"description": "Specify the page the url if it actorAlias is used."
},
        "line": {
"type": "string"
"type": "string"
},
        }
"actorlink": {
"description": "Specify the page the actor is linked to if the actor is \"???\"."
}
},
},
"description": "This template is for creating lines in [[Template:Chapter]].",
"description": "This template is for creating lines in [[Template:Chapter]].",
"paramOrder": [
"paramOrder": [
"actor",
"actor",
"actorlink",
        "actorPlain",
"actorAlias",
"actorLink",
"line"
"line"
]
]

Revision as of 00:30, 20 June 2025

| style="width: 50px; text-align: center;" |

| {{{line}}} |-

{{StoryLine
  | actor      = 
  | actorPlain =
  | actorAlias = 
  | actorLink  = 
  | line       =   }}

This template is for creating lines in [[Template:Chapter]].

[Edit template data]

Template parameters

ParameterDescriptionTypeStatus
actoractor

no description

Stringoptional
actorPlainactorPlain

no description

Unknownoptional
actorAliasactorAlias

no description

Unknownoptional
actorLinkactorLink

Specify the page the url if it actorAlias is used.

Unknownoptional
lineline

no description

Stringoptional