Difference between revisions of "Template:VN:Dialogue"
Jump to navigation
Jump to search
Line 2: | Line 2: | ||
{{#ifexist:File:{{{character}}}_{{#if:{{{variant|}}}|_{{{variant}}}_|}}expression_{{{face|neutral}}}.png | {{#ifexist:File:{{{character}}}_{{#if:{{{variant|}}}|_{{{variant}}}_|}}expression_{{{face|neutral}}}.png | ||
| {{{character}}}{{#if:{{{variant|}}}|_{{{variant}}}_|}}_expression_{{{face|neutral}}}.png | | {{{character}}}{{#if:{{{variant|}}}|_{{{variant}}}_|}}_expression_{{{face|neutral}}}.png | ||
| {{#vardefine:transient subobj|{{#ask:[[Has game context::Transient]] | |||
[[Has lowercase English name::{{lc:{{{character|}}}}}]] | |||
{{#if:{{{rarity|}}}|[[Has rarity::{{{rarity}}}]]}} | |||
{{#if:{{{variant|}}}|[[Has variant::{{{variant}}}]]}} | |||
}}}}{{#show:{{#var:transient subobj}}|?Has icon}} | |||
|}} | |}} | ||
}}{{#vardefine:name title| | }}{{#vardefine:name title| | ||
Line 19: | Line 24: | ||
{{{dialogue}}} | {{{dialogue}}} | ||
|} | |} | ||
</includeonly><noinclude> | </includeonly><noinclude> | ||
== Description == | == Description == |
Revision as of 20:28, 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. }}
Yare yare. |
{{VN:Dialogue | character = Gouryou | dialogue = Checkmate. }}
Checkmate. |