Template:Transcript: Difference between revisions

From Pikipedia, the Pikmin wiki
Jump to navigation Jump to search
(Added an indentation option.)
mNo edit summary
Line 1: Line 1:
{{#if:{{{indent|}}}|<div style{{=}}"margin-left: 3em;">}}<span style="font-size: 150%; font-family: 'Times New Roman',serif; font-style: normal;">“</span><div style="font-style: italic; display: inline">{{{1}}}</div><span style="font-size: 150%; font-family: 'Times New Roman',serif; font-style: normal;">”</span>{{#if:{{{2|}}}|&#32;&ndash; {{{2}}}}}{{#if:{{{indent|}}}|</div>}}<noinclude>
{{#if:{{{indent|}}}|<div style{{=}}"margin-left: 2em;">}}<span style="font-size: 150%; font-family: 'Times New Roman',serif; font-style: normal;">“</span><div style="font-style: italic; display: inline">{{{1}}}</div><span style="font-size: 150%; font-family: 'Times New Roman',serif; font-style: normal;">”</span>{{#if:{{{2|}}}|&#32;&ndash; {{{2}}}}}{{#if:{{{indent|}}}|</div>}}<noinclude>


==Info==
==Info==

Revision as of 17:03, March 16, 2015

{{{1}}}

Info

This template automatically stylizes a transcript, so that all pieces of transcript text across the wiki have a consistent display. Write the text on the first parameter.

Parameters

Parameter Mandatory Default Purpose Detailed description
1 Yes Transcript The transcript text. You can use {{ }} to transcribe text from the "Notes:" namespace.
2 No Source Description of the source.
indent No Indent block If this has a value, like "y", the transcript becomes a block, and is placed a bit to the right.

Skeleton

{{transcript | <text> | <source>}}

Examples

Code Result
{{transcript|Treasure! Treasure! Treasure! Money! Money! Money!|The Hocotate ship}}
Treasure! Treasure! Treasure! Money! Money! Money!
– The Hocotate ship