Difference between revisions of "Template:VN:Dialogue"

From Tokyo Afterschool Summoners
Jump to navigation Jump to search
Line 6: Line 6:
     {{#if:{{{variant|}}}|[[Has variant::{{{variant}}}]]}}
     {{#if:{{{variant|}}}|[[Has variant::{{{variant}}}]]}}
   }}
   }}
   |?Has icon#NOWIKI
   |?Has icon
}}}}{{#vardefine:portrait|
}}}}{{#vardefine:portrait|
   {{#ifexist:File:{{{character}}}_{{#if:{{{variant|}}}|_{{{variant}}}_|}}expression_{{{face|neutral}}}.png
   {{#ifexist:File:{{{character}}}_{{#if:{{{variant|}}}|_{{{variant}}}_|}}expression_{{{face|neutral}}}.png

Revision as of 20:40, 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.

<ul><li>The symbol "[[" was used in a place where it is not useful.</li> <!--br--><li>The part ", " of the query was not understood.Results might not be as expected.</li> <!--br--><li>The part "|Leib#transient1" of the query was not understood.Results might not be as expected.</li> <!--br--><li>The part "|Leib#transient2" of the query was not understood.Results might not be as expected.</li> <!--br--><li>The part "" of the query was not understood.Results might not be as expected.</li> <!--br--><li>The part "]]" of the query was not understood.Results might not be as expected.</li></ul>

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

Checkmate.