Template:Transcript: Difference between revisions

From Pikipedia, the Pikmin wiki
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
 
(20 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<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><noinclude>
{{#if:{{{block|}}}|<div style="font-style:italic;{{#if:{{{indent|}}}|margin-left:2em}}">
<nowiki/>}}<span style="font-size:150%; font-family:'Times New Roman',serif; font-style:normal; line-height:1">“</span>{{#if:{{{block|}}}|{{{1}}}|<span style="font-style:italic">{{#replace:{{{1}}}|<nowiki/>
<nowiki/>|<nowiki/> <nowiki/>}}</span>}}<span style="font-size:150%; font-family:'Times New Roman',serif; font-style:normal; line-height:1">”</span>{{#if:{{{2|}}}|<span style="font-style:normal">&#32;&ndash; {{{2}}}</span>}}{{#if:{{{block|}}}|</div>}}<noinclude>


==Info==
==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.
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.


[[Category:Inline templates]]
==Parameters==
</noinclude>
{| class = "wikitable"
! Parameter || Mandatory || Default || Purpose || Detailed description
|-
! 1
| '''Yes''' ||  || Transcript || The transcript text. You can transcribe text from a page in the "Notes" namespace by writing something like <code><nowiki>{{Notes:Breadbug/louie}}</nowiki></code>.
|-
! 2
| No ||  || Source || Source of the citation, if needed.
|-
! block
| No ||  || Use text block || If this has a value, like "y", the transcript becomes a block of text instead of being inline. '''This is needed in order to transcribe text with multiple lines.'''
|-
! indent
| No ||  || Indent block || If this has a value, like "y", the transcript will be indented forward, if it is a block of text.
|}
 
==Skeleton==
<pre>
{{transcript|<text>|<source>|block=<block?>|indent=<indent?>}}
</pre>
 
==Examples==
{| class = "wikitable"
! Code || Result
|-
| <pre>{{transcript|Treasure! Treasure! Treasure! Money! Money! Money!|The Hocotate ship}}</pre>
| {{transcript|Treasure! Treasure! Treasure! Money! Money! Money!|The Hocotate ship}}
|}
 
[[Category:Inline templates]]</noinclude>

Latest revision as of 21:03, March 13, 2021

{{{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 transcribe text from a page in the "Notes" namespace by writing something like {{Notes:Breadbug/louie}}.
2 No Source Source of the citation, if needed.
block No Use text block If this has a value, like "y", the transcript becomes a block of text instead of being inline. This is needed in order to transcribe text with multiple lines.
indent No Indent block If this has a value, like "y", the transcript will be indented forward, if it is a block of text.

Skeleton

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

Examples

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