Template:StoryLine: Difference between revisions

56 bytes removed ,  Yesterday at 21:52
m
no edit summary
m (Added more params.)
mNo edit summary
 
(12 intermediate revisions by the same user not shown)
Line 1: Line 1:
| style="width: 50px; text-align: center;" |
{{#invoke:StoryLine|render}}<noinclude>
  {{#if:{{{actorPlain|}}}
    | {{{actorPlain}}}
    | {{#if:{{{actorAlias|}}}
      | [[{{{actorLink|}}}|{{{actorAlias}}}]]
      | {{#if:{{{actor|}}}|[[{{{actor}}}]]|}}
      }}
  }}
| {{{line}}}
|-
<noinclude>
<pre>
<pre>
{{StoryLine
{{StoryLine
   | actor      =  
   | actor      =  
   | actorPlain =
   | actorNPC  =
   | actorAlias =  
   | actorAlias =  
   | actorLink  =  
   | actorLink  =  
Line 24: Line 14:
"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",
3,167

edits