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
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
<div class="infobox">
<infobox>
<div class="infobox-title">{{{name|{{PAGENAME}}}}}</div>
  <title source="name">
 
    <default>{{PAGENAME}}</default>
<table>
  </title>
{{#if:{{{type|}}}|<tr>
  <image source="image">
     <th>Type</th>
     <caption source="image_desc" />
     <td>{{{type}}}</td>
  </image>
</tr>}}
  <data source="type">
 
     <label>Type</label>
{{#if:{{{scope|}}}|<tr>
  </data>
     <th>Scope</th>
  <data source="scope">
     <td>{{{scope}}}</td>
     <label>Scope</label>
</tr>}}
  </data>
 
  <data source="writing_system">
{{#if:{{{writing_system|}}}|<tr>
     <label>Writing system</label>
     <th>Writing system</th>
  </data>
     <td>{{{writing_system}}}</td>
  <data source="related_languages">
</tr>}}
     <label>Related languages</label>
 
  </data>
{{#if:{{{related_languages|}}}|<tr>
  <data source="demonym">
     <th>Related languages</th>
     <label>Demonym</label>
     <td>{{{related_languages}}}</td>
  </data>
</tr>}}
  <data source="adjective">
 
     <label>Adjective</label>
</table>
  </data>
</div>
  <data source="population">
     <label>Population</label>
  </data>
  <data source="demographics">
    <label>Demographics</label>
  </data>
</infobox>

Latest revision as of 00:11, 27 November 2023