Difference between revisions of "Template:VN:Dialogue"

From Tokyo Afterschool Summoners
Jump to navigation Jump to search
(meme test)
Line 14: Line 14:
| Has portrait = {{#var:portrait}}
| Has portrait = {{#var:portrait}}
|}}}}<!-- end subobject
|}}}}<!-- end subobject
-->{|class={{#if:{{{frameless|}}}|style="min-width:35em;"|"wikitable"}} style="min-width:35em;"
-->{| class={{#if:{{{frameless|}}}||"wikitable"}} style="min-width:35em;"
|<div style="float:left;padding:10px">{{#var:portrait}}</div>
| <div style="float:left;padding:10px">[[{{#var:portrait}}{{!}}70px}}</div>
|<b>{{{character}}}</b>: {{#ifeq:{{{face|neutral}}}|neutral||<i>({{{face|neutral}}} face)</i><br/>}}}}
|<b>{{{character}}}</b>: {{#ifeq:{{{face|neutral}}}|neutral||<i>({{{face|neutral}}} face)</i><br/>}}}}
{{{dialogue}}}
{{{dialogue}}}

Revision as of 20:14, 3 October 2018

Description

This templates creates an infobox for VN dialogue, as well as a VN dialogue subobject using the following properties:

  • Has character
  • Is variant
  • Has expression
  • Has dialogue
  • Has portrait

Usage

{{VN:Dialogue
}}

Parameters

character
Character speaking.
variant
Variant (if any) of the character speaking.
face
Expression (if any) of the character speaking.
dialogue
What the character is speaking.

Examples

{{VN:Dialogue
| character = Leib
| dialogue = Yare yare.
}}
[[|70px}}
Leib: }}

Yare yare.

{{VN:Dialogue
| character = Gouryou
| dialogue = Checkmate.
}}
[[|70px}}
Gouryou: }}

Checkmate.