Difference between revisions of "Template:VN:Dialogue"

From Tokyo Afterschool Summoners
Jump to navigation Jump to search
Line 10: Line 10:
   {{#ifexist:File:{{{character}}}_{{#if:{{{variant|}}}|_{{{variant}}}_|}}expression_{{{face|neutral}}}.png
   {{#ifexist:File:{{{character}}}_{{#if:{{{variant|}}}|_{{{variant}}}_|}}expression_{{{face|neutral}}}.png
   | File:{{{character}}}{{#if:{{{variant|}}}|_{{{variant}}}_|}}_expression_{{{face|neutral}}}.png
   | File:{{{character}}}{{#if:{{{variant|}}}|_{{{variant}}}_|}}_expression_{{{face|neutral}}}.png
   | {{#var:fallback portrait}}
   | <!--{{#var:fallback portrait}}-->
   }}
   }}
}}{{#vardefine:name title|
}}{{#vardefine:name title|
Line 27: Line 27:
| {{#if:{{#var:portrait|}}|<div style="float:left;padding:10px">[[{{#var:portrait}}{{!}}70px]]</div>|{{#var:name title}}}}
| {{#if:{{#var:portrait|}}|<div style="float:left;padding:10px">[[{{#var:portrait}}{{!}}70px]]</div>|{{#var:name title}}}}
{{{dialogue}}}
{{{dialogue}}}
|}
|}</includeonly><noinclude>
{{#var:fallback portrait}}
</includeonly><noinclude>
== Description ==
== Description ==
This templates creates an infobox for VN dialogue, as well as a VN dialogue subobject using the following properties:
This templates creates an infobox for VN dialogue, as well as a VN dialogue subobject using the following properties:

Revision as of 20:42, 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.
}}
Leib expression neutral.png

Yare yare.

{{VN:Dialogue
| character = Gouryou
| dialogue = Checkmate.
}}
Ganglie expression neutral.png

Checkmate.