Difference between revisions of "Template:VN:Dialogue"

Jump to navigation Jump to search
96 bytes removed ,  20:48, 3 October 2018
no edit summary
Line 6: Line 6:
}}{{#vardefine:name title
}}{{#vardefine:name title
   |<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/>}}
}}{{#if: {{NAMESPACE}} | <!-- don't create subobj within namespace --> |
}}{{#subobject:dialogue{{#vardefineecho:dialoguenumber|{{#expr:{{#var:dialoguenumber|-1}}+1}}}}
[[Category:Translation]]{{#subobject:dialogue{{#vardefineecho:dialoguenumber|{{#expr:{{#var:dialoguenumber|-1}}+1}}}}
| Has game context = Dialogue
| Has game context = Dialogue
| Has character = {{{character|}}}
| Has character = {{{character|}}}
Line 15: Line 14:
| Has dialogue = {{{dialogue}}}
| Has dialogue = {{{dialogue}}}
| Has portrait = {{#var:portrait}}
| Has portrait = {{#var:portrait}}
|}}
|}}{| class={{#if:{{{frameless|}}}||"wikitable"}} style="min-width:35em;"
}}<!-- end subobject
-->{| class={{#if:{{{frameless|}}}||"wikitable"}} style="min-width:35em;"
| {{#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>
|}[[Category:Translation]]</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:

Navigation menu