Template:LanguageInfobox: Difference between revisions

Template page
(Created page with "<div class="infobox"> <div class="infobox-title">{{{name|{{PAGENAME}}}}}</div> <table> {{#if:{{{type|}}}|<tr> <th>Type</th> <td>{{{type}}}</td> </tr>}} {{#if:{{{scope|}}}|<tr> <th>Scope</th> <td>{{{scope}}}</td> </tr>}} {{#if:{{{writing_system|}}}|<tr> <th>Writing system</th> <td>{{{writing_system}}}</td> </tr>}} {{#if:{{{related_languages|}}}|<tr> <th>Related languages</th> <td>{{{related_languages}}}</td> </tr>}} </table> </div>")
 
No edit summary
Line 1: Line 1:
<div class="infobox">
{{Infobox
<div class="infobox-title">{{{name|{{PAGENAME}}}}}</div>
| title    = {{{name|{{PAGENAME}}}}}
 
|header1 =
<table>
| label1 = Type
{{#if:{{{type|}}}|<tr>
|  data1 = {{{type|}}}
    <th>Type</th>
| label2 = Scope
    <td>{{{type}}}</td>
|  data2 = {{{scope|}}}
</tr>}}
| label3 = Writing system
 
|  data3 = {{{writing_system|}}}
{{#if:{{{scope|}}}|<tr>
| label5 = Related languages
    <th>Scope</th>
|  data5 = {{{related_languages|}}}
    <td>{{{scope}}}</td>
}}
</tr>}}
 
{{#if:{{{writing_system|}}}|<tr>
    <th>Writing system</th>
    <td>{{{writing_system}}}</td>
</tr>}}
 
{{#if:{{{related_languages|}}}|<tr>
    <th>Related languages</th>
    <td>{{{related_languages}}}</td>
</tr>}}
 
</table>
</div>

Revision as of 16:42, 28 July 2022