Template:Phrasebook: Difference between revisions

From The Languages of David J. Peterson
Jump to navigation Jump to search
(Possible fix here.)
(Aligned text left so it'd stop jumping on expansion. Not an ideal solution, but a solution nonetheless.)
Line 2: Line 2:
<div class="NavContent">
<div class="NavContent">
{| role="presentation" class="mw-collapsible mw-collapsed" style="background-color:#FFFFBF; width:100%; margin: auto; text-align:center; border-collapse:separate; border-spacing:2px;"
{| role="presentation" class="mw-collapsible mw-collapsed" style="background-color:#FFFFBF; width:100%; margin: auto; text-align:center; border-collapse:separate; border-spacing:2px;"
! style="background:#FFFFBF; text-align:center; width: 100%;" colspan="2" | {{#invoke:languages/templates|getByCode|{{{1<noinclude>|und</noinclude>}}}|getCanonicalName}} Phrasebook
! style="background:#FFFFBF; text-align:left; width: 100%;" colspan="2" | {{#invoke:languages/templates|getByCode|{{{1<noinclude>|und</noinclude>}}}|getCanonicalName}} Phrasebook
|-  
|-  
| style="width:100px" style="text-align:left;" | [[File:Na.png|40px]]
| style="width:100px" style="text-align:left;" | [[File:Na.png|40px]]

Revision as of 14:24, 1 February 2021


Place this directly under the second-level language heading (such as ==Trigedasleng==) in an entry to add this to the language's appropriate phrasebook category. The template must be accompanied by a parameter with the appropriate language code as well (e.g. {{phrasebook|trig}} for the Trigedasleng phrasebook). An optional final parameter can add it to a subset of a phrasebook (e.g. {{phrasebook|trig|Greetings}} will categorize an entry in Category:Trigedasleng phrasebook/Greetings).