Template:gloss grid/documentation: Difference between revisions

 
(4 intermediate revisions by the same user not shown)
Line 21: Line 21:
*; {{para|nolinks|1}}, {{para|nolink|1}}
*; {{para|nolinks|1}}, {{para|nolink|1}}
*: disables linked head terms
*: disables linked head terms
*; {{para|phnm|1}}
*: switches to broad transcription bracketing in term-level IPA row
* Term-level parameters are specified [[Module:inline|in-line]]; all are optional.
* Term-level parameters are specified [[Module:inline|in-line]]; all are optional.
*; {{para|''n''|<alt:>}}, {{para|''n''|<anchor:>}}, {{para|''n''|<hypo>}}, {{para|''n''|<nolink>}} etc.
*; {{para|''n''|<alt:>}}, {{para|''n''|<anchor:>}}, {{para|''n''|<hypo>}}, {{para|''n''|<nolink>}} etc.
Line 27: Line 29:
*; {{para|''n''|<gl:>}}, {{para|''n''|<g:>}}
*; {{para|''n''|<gl:>}}, {{para|''n''|<g:>}}
*: term-level glossing
*: term-level glossing
*:; If you need to use the character <code>=</code> in the gloss, you must use <code><nowiki>{{=}}</nowiki></code>.
*:; If you need to use the character <code>=</code> in the gloss, you must use <code><nowiki>{{=}}</nowiki></code> or the entire argument will not render.
*; {{para|''n''|<pr:>}}, {{para|''n''|<p:>}}, {{para|''n''|<ipa:>}}
*; {{para|''n''|<pr:>}}, {{para|''n''|<p:>}}, {{para|''n''|<ipa:>}}
*: term-level IPA
*: term-level IPA


=== Functionality ===
=== Functionality ===
; Automatic transcription bracketing with term-level IPA row
: Assumed to be narrow transcription; for broad transcription, use {{para|phnm|1}}.
; Manual bolding
; Manual bolding
: <code>|<nowiki>'''g'''aks</nowiki></code> → {{m|rad|gaks|'''g'''aks}}
: <code>|<nowiki>'''g'''aks</nowiki></code> → {{m|rad|gaks|'''g'''aks}}
Line 42: Line 46:
=== Example ===
=== Example ===
  <nowiki>{{</nowiki>[[Template:gloss grid|gg]]|rad
  <nowiki>{{</nowiki>[[Template:gloss grid|gg]]|rad
  |Gaks,:gaks<p:[{{rad-IPA|Gaks,|phon}}><g:sheep-NOM.SG>
  |Gaks,:gaks<p:{{rad-IPA|Gaks,|phon}}><g:sheep-NOM.SG><t:SUBJECT>
  |vân<p:{{rad-IPA|vân|phon}}><g:3S.ANIM-DAT>
  |vân<p:{{rad-IPA|vân|phon}}><g:3S.ANIM-DAT>
  |gjeș<p:{{rad-IPA|gjeș|phon}}><g:REL=3S>
  |gjeș<p:{{rad-IPA|gjeș|phon}}><g:REL<nowiki>{{=}}</nowiki>3S>
  |<nowiki>'''h'''</nowiki>reņuog<p:{{rad-IPA|hreņuog|phon}}><g:wool-GEN.SG><t:You could use in-line translations to add notes>
  |<nowiki>'''h'''</nowiki>reņuog<p:{{rad-IPA|hreņuog|phon}}><g:wool-GEN.SG><t:You could use in-line translations to add notes>
  |húe,<p:{{rad-IPA|húe,|phon}}><g:NEG.PST-DISJ.SG>
  |húe,<p:{{rad-IPA|húe,|phon}}><g:NEG.PST-DISJ.SG>
  |híðirid<p:{{rad-IPA|híðirid|phon}}><g:horse-PL-ACC>
  |híðirid<p:{{rad-IPA|híðirid|phon}}><g:horse-PL-ACC><t:OBJECT>
  |vareș,<p:{{rad-IPA|vareș|phon}}]><g:see.PST-IND-3S>
  |vareș,<p:{{rad-IPA|vareș|phon}}><g:see.PST-IND-3S><t:VERB>
  |t=A sheep that had no wool saw horses,
  |t=A sheep that had no wool saw horses,
  }}
  }}
{{gloss grid|rad|t=A sheep that had no wool saw horses,
{{gloss grid|rad|t=A sheep that had no wool saw horses,
|Gaks, :gaks<p:[{{rad-IPA|Gaks,|phon}}><g:sheep-NOM.SG>
|Gaks, :gaks<p:{{rad-IPA|Gaks,|phon}}><g:sheep-NOM.SG><t:SUBJECT>
|vân<p:{{rad-IPA|vân|phon}}><g:3S.ANIM-DAT>
|vân<p:{{rad-IPA|vân|phon}}><g:3S.ANIM-DAT>
|gjeș<p:{{rad-IPA|gjeș|phon}}><g:REL=3S>
|gjeș<p:{{rad-IPA|gjeș|phon}}><g:REL{{=}}3S>
|'''h'''reņuog<p:{{rad-IPA|hreņuog|phon}}><g:wool-GEN.SG><t:You could use in-line translations to add notes>
|'''h'''reņuog<p:{{rad-IPA|hreņuog|phon}}><g:wool-GEN.SG><t:You could use in-line translations to add notes>
|húe,<p:{{rad-IPA|húe,|phon}}><g:NEG.PST-DISJ.SG>
|húe,<p:{{rad-IPA|húe,|phon}}><g:NEG.PST-DISJ.SG>
|híðirid<p:{{rad-IPA|híðirid|phon}}><g:horse-PL-ACC>
|híðirid<p:{{rad-IPA|híðirid|phon}}><g:horse-PL-ACC><t:OBJECT>
|vareș,<p:{{rad-IPA|vareș|phon}}]><g:see.PST-IND-3S>
|vareș,<p:{{rad-IPA|vareș|phon}}><g:see.PST-IND-3S><t:VERB>
  }}
  }}