Jump to content

Template talk:Interlinear/sandbox/testcases

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia

Line settings

[edit]
{{interlinear}} {{fs interlinear}}
  1. {{lang}} (italics if |lang= not specified)
  2. glossing
  1. {{script}}
  2. {{transliteration}} (italics if |lang= not specified)
  3. glossing
Manual settings than can be applied to any line
  • |italics= class="italics"
    • implies |tone-superscripting=
  • |glossing= {{gcl}}
  • |transl= {{transliteration}}
  • |ipa= {{IPA}}
  • |smallcaps= class="smallcaps"

Params

[edit]
This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for Template:Interlinear/sandbox in articles based on its TemplateData.

TemplateData for Interlinear/sandbox

This template formats interlinear glossed text.
line 11
First line of interlinear text
Default
Italicised. To prevent, set: {{para|italics1|no}}
line 22
Second line of interlinear text
Default
Expected to contain the glosses. To prevent, set: <code>|glossing2=no</code>
line 33
Third line of interlinear text.
line 44
line 55
languagelang
ISO 639 code of the language of the text.
indentindent
Indentation amount, in units of em.
label numbernumber
Suggested values
  • (1)
  • (21a)
toptop
Text that goes before interlinear
bottombottom
Text that goes after the last line
commentNcN
Comment after line N
right-to-leftrtl
Display gloss right-to-left
spacingspacing
Spacing between consecutive word stacks. Set in em units.
Default
1
boxbox
Whether to add a box border
italicsNitalicsN
Whether to italicize line N
classNclassN
CSS class for line N
Suggested values
  • smallcaps
  • bold
langNlangN
Language code for line N
ipaNipaN
Whether line N is IPA
translNtranslN
Whether line N is transliteration
glossingNglossingN
Whether lineN is gloss
tone-superscriptingtone-superscripting
Whether to format tone numbers as superscripts on italicized lines
glossing display behaviorglossing
Glossing behavior. "link" to create links to articles. "no abbr" to turn off attempts at translating of abbreviations. These parameters can also apply individually in glossing1/2/3.
Suggested values
  • link
  • no abbr
glossing-styleglossing-style
CSS style for glossing abbreviations
small-capssmall-caps
Use small capitals for glossing abbreviations
Default
yes
underlineunderline
Underline glossing abbreviations
Default
yes
display-messagesdisplay-messages
Display glossing-related messages in preview
Default
yes
custom abbreviationsabbreviations
ablist

This template formats interlinear glossed text.

Template parameters

ParameterDescriptionTypeStatus
line 11

First line of interlinear text

Default
Italicised. To prevent, set: {{para|italics1|no}}
Stringrequired
line 22

Second line of interlinear text

Default
Expected to contain the glosses. To prevent, set: <code>|glossing2=no</code>
Stringsuggested
line 33

Third line of interlinear text.

Stringsuggested
line 44

no description

Stringoptional
line 55

no description

Stringoptional
languagelang

ISO 639 code of the language of the text.

Stringoptional
indentindent

Indentation amount, in units of em.

Numberoptional
label numbernumber

no description

Suggested values
(1) (21a)
Stringoptional
toptop

Text that goes before interlinear

Contentoptional
bottombottom

Text that goes after the last line

Contentoptional
commentNc''N''

Comment after line N

Contentoptional
right-to-leftrtl

Display gloss right-to-left

Booleanoptional
spacingspacing

Spacing between consecutive word stacks. Set in em units.

Default
1
Numberoptional
boxbox

Whether to add a box border

Booleanoptional
italics''N''italics''N''

Whether to italicize line N

Booleanoptional
class''N''class''N''

CSS class for line N

Suggested values
smallcaps bold
Stringoptional
lang''N''lang''N''

Language code for line N

Stringoptional
ipa''N''ipa''N''

Whether line N is IPA

Booleanoptional
transl''N''transl''N''

Whether line N is transliteration

Booleanoptional
glossing''N''glossing''N''

Whether lineN is gloss

Booleanoptional
tone-superscriptingtone-superscripting

Whether to format tone numbers as superscripts on italicized lines

Booleanoptional
glossing display behaviorglossing

Glossing behavior. "link" to create links to articles. "no abbr" to turn off attempts at translating of abbreviations. These parameters can also apply individually in glossing1/2/3.

Suggested values
link no abbr
Stringoptional
glossing-styleglossing-style

CSS style for glossing abbreviations

Stringoptional
small-capssmall-caps

Use small capitals for glossing abbreviations

Default
yes
Booleanoptional
underlineunderline

Underline glossing abbreviations

Default
yes
Booleanoptional
display-messagesdisplay-messages

Display glossing-related messages in preview

Default
yes
Booleanoptional
custom abbreviationsabbreviations ablist

no description

Contentoptional

Defaulted 1 required