Template:Transcript: Difference between revisions

From Pikipedia, the Pikmin wiki
Jump to navigation Jump to search
No edit summary
(Added an option to make it inline.)
Line 1: Line 1:
<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}}}}}</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><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>


==Info==
==Info==
Line 16: Line 16:
! indent
! indent
| No ||  || Indent block || If this has a value, like "y", the transcript becomes a block, and is placed a bit to the right.
| 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==
==Skeleton==
<pre>
<pre>
{{transcript|<text>|<source>|indent=<indent?>}}
{{transcript|<text>|<source>|indent=<indent?>|inline=<inline?>}}
</pre>
</pre>



Revision as of 09:35, 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