Template:Obj: Difference between revisions

From FrathWiki
Jump to navigationJump to search
(Creating page: still experimenting!)
 
mNo edit summary
Line 1: Line 1:
<span class="{{{id|obj}}}-language">
<span class="{{{id|obj}}}-language">
{{#if: {{{li}}} |<span class="lang-id">{{#ifeq: {{{li}}} |1|{{ucfirst:{{{l}}}}}}|{{{li}}}}}</span>
{{#if: {{{li}}} |<span class="lang-id">{{#ifeq: {{{li}}} |1|{{ucfirst:{{{l}}}}}|{{{li}}}}}</span>
}} <{{{tag|em}}} class="{{{id|obj}}}-term"{{#if: {{{xl}}}| lang="{{lc:{{#if: {{{l}}} |{{{l}}}|art-x-{{{xl}}} }}}}"}}{{#if: {{{tl}}} | title="{{{tl}}}"}}>{{{1}}}</{{{tag|em}}}>
}}<{{{tag|em}}} class="{{{id|obj}}}-term"{{#if: {{{xl}}}| lang="{{lc:{{#if: {{{l}}} |{{{l}}}|art-x-{{{xl}}} }}}}"}}{{#if: {{{tl}}} | title="{{{tl}}}"}}>{{{1}}}</{{{tag|em}}}>
{{#if: {{{ipa}}} |{{IPA|{{{IPA}}} }}|{{#if: {{{pm}}}
{{#if: {{{ipa}}} |{{IPA|{{{IPA}}} }}|{{#if: {{{pm}}}
|{{IPA|/{{{pm}}}/}}|{{#if: {{{pt}}} |{{IPA|[{{{pt}}}]}} }} }} }}
|{{IPA|/{{{pm}}}/}}|{{#if: {{{pt}}} |{{IPA|[{{{pt}}}]}} }} }} }}
{{#if: {{{gl}}} |<span class="{{{id|obj}}}-gloss">'{{{gl}}}'</span>
{{#if: {{{gl}}} |<span class="{{{id|obj}}}-gloss">'{{{gl}}}'</span>
{{#if: {{{ety}}} | <span class="{{{id}}}-etymology"{{#if: {{{exl}}} | lang="{{lc:{{#if: {{{el}}} |{{{el}}}|art-x-{{{exl}}} }}}}"}}>{{#if: {{{ei}}} |<span class="etym-lang-id">{{{ei}}} </span> }}{{{ety}}}{{#if: {{{eg}}}|<span class="etym-gloss">'{{{eg}}}'</span> }}</span></span>
{{#if: {{{ety}}} | <span class="{{{id}}}-etymology"{{#if: {{{exl}}} | lang="{{lc:{{#if: {{{el}}} |{{{el}}}|art-x-{{{exl}}} }}}}"}}>{{#if: {{{ei}}} |<span class="etym-lang-id">{{{ei}}}</span> }}{{{ety}}}{{#if: {{{eg}}}|<span class="etym-gloss">'{{{eg}}}'</span> }}</span></span>

Revision as of 08:32, 21 November 2023

{{{li}}}{{{1}}} {{{IPA}}} {{#if: {{{gl}}} |'{{{gl}}}' {{#if: {{{ety}}} | {{{ei}}}{{{ety}}}'{{{eg}}}'