Template:Transcript: Difference between revisions

From Pikipedia, the Pikmin wiki
Jump to navigation Jump to search
(Added an option to make it inline.)
(I hope this one doesn't need to be a div...)
Line 1: Line 1:
{{#if:{{{inline|}}}||<div style="{{#if:{{{indent|}}}|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:{{{inline|}}}||</div>}}<noinclude>
{{#if:{{{inline|}}}||<div style="{{#if:{{{indent|}}}|margin-left: 2em;}}">}}<span style="font-size: 150%; font-family: 'Times New Roman',serif; font-style: normal;">“</span><span style="font-style: italic; display: inline">{{{1}}}</span><span style="font-size: 150%; font-family: 'Times New Roman',serif; font-style: normal;">”</span>{{#if:{{{2|}}}|&#32;&ndash; {{{2}}}}}{{#if:{{{inline|}}}||</div>}}<noinclude>


==Info==
==Info==

Revision as of 09:36, March 9, 2019

{{{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.
inline No Inline text If this has a value, like "y", the transcript will be in the same line as the surrounding text.

Skeleton

{{transcript|<text>|<source>|indent=<indent?>|inline=<inline?>}}

Examples

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