Template:Shiren 1 DS Dialogue/doc: Difference between revisions

MDFW - The Mystery Dungeon Tree of Information.
Jump to navigation Jump to search
Mystery Dungeon GP>Korra II A Royal
No edit summary
mNo edit summary
 
(14 intermediate revisions by 4 users not shown)
Line 1: Line 1:
{{Doc/start}}
{{Doc/start}}
This template produces a text box similar to those used for dialogue in Shiren 1 DS. The upper line (yellow) is the name of the entity speaking, and the lower line (white) are the dialogue.
This template produces a text box similar to those used for dialogue in Shiren 1 DS. The upper line (yellow) is the name of the entity speaking, and the lower line(s) (white) are the dialogue boxes.
 
When using, the first yellow text line and the following white text line is required. if not filled in, additional white text boxes will not appear. Up to 9 additional boxes of white text can be inserted, if more are needed, they can be added to the template.


==Usage==
==Usage==
<code><nowiki>{{Shiren 1 DS Dialogue|Warehouse Guard:|This is a storehouse for wanderers.}}</nowiki></code> produces:
<pre>{{Shiren 1 DS Dialogue
| name =
| ''text''
| boxsize =
}}</pre>
 
==Example==
;Character + 1 dialogue
<pre>{{Shiren 1 DS Dialogue|Warehouse Guard:|This is a storehouse for wanderers.}}</pre> produces:
{{Shiren 1 DS Dialogue|Warehouse Guard:|This is a storehouse for wanderers.}}
{{Shiren 1 DS Dialogue|Warehouse Guard:|This is a storehouse for wanderers.}}


<includeonly>
;Character + 2 dialogue
{| class="module style="text-align:left"
<pre>{{Shiren 1 DS Dialogue
|style="border:2px solid #FFFFFF; background:#000039; padding-left:5px; padding-right:5px"|<font color="yellow">{{{1}}}</font><br><font color="white">{{{2}}}</font>
|name = Warehouse Guard:
|  
|This is a storehouse for wanderers.
|}
|Leave items here so you won't lose them if you fall during a journey.}}</pre> produces:
</includeonly><noinclude>[[Category:Documentation templates]]</noinclude>
{{Shiren 1 DS Dialogue|name=Warehouse Guard:|This is a storehouse for wanderers.|Leave items here so you won't lose them if you fall during a journey.}}
 
;Character + 5 dialogue
<pre>{{Shiren 1 DS Dialogue
|Warehouse Guard
|This is a storehouse for wanderers.
|Leave items here so you won't lose them if you fall during a journey.
|But almost nobody really takes advantage of it...
|If you want to use it right, I'll give you the full explanation. Interested?
|Oh... I see...}}</pre> produces:
{{Shiren 1 DS Dialogue
|1 = Warehouse Guard
|2 = This is a storehouse for wanderers.
|3 = Leave items here so you won't lose them if you fall during a journey.
|4 = But almost nobody really takes advantage of it...
|5 = If you want to use it right, I'll give you the full explanation. Interested?
|6 = Oh... I see...
}}
<noinclude>[[Category:Shiren 1 DS Templates]]</noinclude>
{{Doc/end}}
{{Doc/end}}

Latest revision as of 21:49, 21 December 2021

Template-info.png Documentation

This template produces a text box similar to those used for dialogue in Shiren 1 DS. The upper line (yellow) is the name of the entity speaking, and the lower line(s) (white) are the dialogue boxes.

When using, the first yellow text line and the following white text line is required. if not filled in, additional white text boxes will not appear. Up to 9 additional boxes of white text can be inserted, if more are needed, they can be added to the template.

Usage

{{Shiren 1 DS Dialogue
| name = 
| ''text''
| boxsize = 
}}

Example

Character + 1 dialogue
{{Shiren 1 DS Dialogue|Warehouse Guard:|This is a storehouse for wanderers.}}
produces:
Warehouse Guard:
This is a storehouse for wanderers.
Character + 2 dialogue
{{Shiren 1 DS Dialogue
|name = Warehouse Guard:
|This is a storehouse for wanderers.
|Leave items here so you won't lose them if you fall during a journey.}}
produces:
Warehouse Guard:
This is a storehouse for wanderers.
Leave items here so you won't lose them if you fall during a journey.
Character + 5 dialogue
{{Shiren 1 DS Dialogue
|Warehouse Guard
|This is a storehouse for wanderers.
|Leave items here so you won't lose them if you fall during a journey.
|But almost nobody really takes advantage of it...
|If you want to use it right, I'll give you the full explanation. Interested?
|Oh... I see...}}
produces:
Warehouse Guard
This is a storehouse for wanderers.
Leave items here so you won't lose them if you fall during a journey.
But almost nobody really takes advantage of it...
If you want to use it right, I'll give you the full explanation. Interested?
Oh... I see...