Jump to content

Template:Dialogue: Difference between revisions

Line 1: Line 1:
<includeonly><templatestyles src="Template:Dialogue/styles.css" />
<includeonly><templatestyles src="Template:Dialogue/styles.css" />
<blockquote><div class="dialogue-box">
<div class="dialogue-box">
   <div class="dialogue-character">{{{char1|Unknown}}}</div>
   <div class="dialogue-character">{{{char1|Unknown}}}</div>
   <div class="dialogue-line">“{{{line1|...}}}”</div>
   <div class="dialogue-line">“{{{line1|...}}}”</div>
  {{#if:{{{char2|}}}|
</div>
  <div class="dialogue-character">{{{char2}}}</div>
  <div class="dialogue-line">“{{{line2}}}”</div>}}
  {{#if:{{{char3|}}}|
  <div class="dialogue-character">{{{char3}}}</div>
  <div class="dialogue-line">“{{{line3}}}”</div>}}
  {{#if:{{{char4|}}}|
  <div class="dialogue-character">{{{char4}}}</div>
  <div class="dialogue-line">“{{{line4}}}”</div>}}
</div></blockquote>
</includeonly>
</includeonly>
<noinclude>{{Documentation}}[[Template:Dialogue/styles.css|styles.css]]<templatedata>
<noinclude>{{Documentation}}[[Template:Dialogue/styles.css|styles.css]]<templatedata>
Line 24: Line 15:
"type": "string",
"type": "string",
"required": true
"required": true
},
"char2": {
"type": "wiki-page-name"
},
"line2": {
"type": "string"
},
"char3": {
"type": "wiki-page-name"
},
"line3": {
"type": "string"
},
"char4": {
"type": "wiki-page-name"
},
"line4": {
"type": "string"
}
}
}
}
}
}
</templatedata></noinclude>
</templatedata></noinclude>