Difference between revisions of "Help:Quick infoboxes"

From geofiction
Jump to navigation Jump to search
m
Line 1: Line 1:
 +
Infobox modules for copy and paste
 
{{TOC limit|1}}
 
{{TOC limit|1}}
  
==Infobox modules for copy&paste==
+
==Basic modules==
 
Table head
 
Table head
<pre><table class="infobox"><tr class="cont"><th colspan="2" style="text-align:center; background: #e8caca;>[[File:xxxxxxSELECTICONFROMGALLERYxxxxxx.svg|50px|link=]]</th></tr></pre>
+
<pre>
<pre><tr><th colspan="2" style="text-align:center; background: #e8caca;">xxxxxxBOXNAMExxxxxx</th></tr></pre>
+
<table class="infobox"><tr class="cont"><th colspan="2" style="text-align:center; background: #e8caca;>[[File:xxxxxxSELECTICONFROMGALLERYxxxxxx.svg|50px|link=]]</th></tr>
 +
<tr><th colspan="2" style="text-align:center; background: #e8caca;">xxxxxxBOXNAMExxxxxx</th></tr>
 +
</pre>
 +
 
 +
Line which continues
 +
<pre>
 +
<tr class="cont"><td><b>xxxKEYxxx</b></td><td>xxxVALUExxx</td></tr>
 +
</pre>
 +
 
 
Single line
 
Single line
<pre><tr><td><b>xxxKEYxxx</b></td><td>xxxVALUExxx</td></tr></pre>
+
<pre>
Line which continues
+
<tr><td><b>xxxKEYxxx</b></td><td>xxxVALUExxx</td></tr>
<pre><tr class="cont"><td><b>xxxKEYxxx</b></td><td>xxxVALUExxx</td></tr></pre>
+
</pre>
 +
 
 
Single line with leading dot
 
Single line with leading dot
<pre><tr><td>&bull; xxxKEYxxx</td><td>xxxVALUExxx</td></tr></pre>
+
<pre>
 +
<tr><td>&bull; xxxKEYxxx</td><td>xxxVALUExxx</td></tr>
 +
</pre>
 +
 
 +
Table foot
 +
<pre>
 +
</table>
 +
</pre>
 +
 
 +
==More advanced modules==
 +
<pre>
 +
<tr class="cont"><td colspan="2"><div style="background: #dddddd; text-align: center; padding: .1em;"><b>xxxHEADLINExxx</b></div></td></tr>
 +
<tr><td colspan="2">
 +
<table class="barbox" style="background: #ffffff; font-size:88%; padding:0.4em; width:auto;">
 +
{{bar percent|xxxOPTIONxxx|blue|93.1}}
 +
{{bar percent|xxxOPTIONxxx|cornflowerblue|5.1}}
 +
{{bar percent|xxxOPTIONxxx|gold|2.2}}
 +
{{bar percent|Other|black|0.9}}
 +
</table></td></tr>
 +
</pre>
 +
<table class="infobox">
 +
<tr class="cont"><td colspan="2"><div style="background: #dddddd; text-align: center; padding: .1em;"><b>xxxHEADLINExxx</b></div></td></tr>
 +
<tr><td colspan="2">
 +
<table class="barbox" style="background: #ffffff; font-size:88%; padding:0.4em; width:auto;">
 +
{{bar percent|xxxOPTIONxxx|blue|93.1}}
 +
{{bar percent|xxxOPTIONxxx|cornflowerblue|5.1}}
 +
{{bar percent|xxxOPTIONxxx|gold|2.2}}
 +
{{bar percent|Other|black|0.9}}
 +
</table></td></tr>
 +
</table>
 +
 
 +
 
 +
 
 +
 
 +
 
 +
 
 +
<pre>
 +
<tr class="cont"><td colspan="2"><div style="background: #dddddd; text-align: center; padding: .1em;"><b>Major political parties</b></div></td></tr>
 +
<tr><td colspan="2"><div style="columns: 1em 2;">{{{political_parties|}}}</div></td></tr>
 +
</pre>
 +
<table class="infobox">
 +
<tr class="cont"><td colspan="2"><div style="background: #dddddd; text-align: center; padding: .1em;"><b>Major political parties</b></div></td></tr>
 +
<tr><td colspan="2"><div style="columns: 1em 2;">{{{political_parties|}}}</div></td></tr>
 +
</table>
 +
 
 +
 
 +
 
 +
 
 +
| ethnicity_bars = {{bar percent|Mergan|blue|93.1}}{{bar percent|x|cornflowerblue|1.1}}{{bar percent|x|gold|0.9}}{{bar percent|Other|black|0.9}}
 +
| religion_plain = x
 +
| religion_bars = {{bar percent|Christicism|blue|89.1}}{{bar percent|Other Christics|red|1.9}}{{bar percent|x|orange|3.8}}{{bar percent|Irreligious|gray|3.3}}{{bar percent|Other|black|0.9}}
 +
| literacy = {{steady}} 99.3%
 +
| life_expectancy = {{increase}} 78 (male)<br /> {{steady}} 85 (female)
 
<pre>X</pre>
 
<pre>X</pre>
<pre>X</pre>
+
 
<pre>X</pre>
+
 
Table foot
+
-->{{#if:{{{upper_house_diagram|}}}|<tr {{#if:{{{lower_house|}}}| class="cont" |}}><td colspan="2">[[File:{{{upper_house_diagram|}}}|right|175px]]</td></tr>|}}<!--
<pre></table></pre>
+
-->{{#if:{{{lower_house|}}}|<tr {{#if:{{{lower_house_diagram|}}}| class="cont" |}}><td>&bull; Lower house</td><td>{{{lower_house}}}</td></tr>|}}<!--
 +
-->{{#if:{{{lower_house_diagram|}}}|<tr><td colspan="2">[[File:{{{lower_house_diagram|}}}|right|175px]]</td></tr>|}}<!--
 +
-->{{#if:{{{judiciary|}}}|<tr><td><b>Judiciary</b></td><td>{{{judiciary|}}}</td></tr>|}}<!--
 +
-->{{#if:{{{custom_label1|}}}{{{custom1|}}}|<tr><td><b>{{{custom_label1|}}}</b></td><td>{{{custom1|}}}</td></tr>|}}<!--
 +
-->{{#if:{{{custom_label2|}}}{{{custom2|}}}|<tr><td><b>{{{custom_label2|}}}</b></td><td>{{{custom2|}}}</td></tr>|}}<!--
 +
-->{{#if:{{{political_parties|}}}|<tr class="cont"><td colspan="2"><div style="background: #dddddd; text-align: center; padding: .1em;"><b>Major political parties</b></div></td></tr>
 +
<tr><td colspan="2"><div style="columns: 1em 2;">{{{political_parties|}}}</div></td></tr>|}}<!--
 +
-->{{#if:{{{international_orgs|}}}|<tr class="cont"><td colspan="2"><div style="background: #dddddd; text-align: center; padding: .1em;"><b>[[Index:Intergovernmental organizations|International organizations]]</b></div></td></tr>
 +
<tr><td colspan="2">{{{international_orgs|}}}</td></tr>|}}
 +
</table>
 +
 
 +
 
 +
-->{{#if:{{{ethnicity_plain|}}}|<tr><td><b>Ethnicities</b></td><td>{{{ethnicity_plain|}}}</td></tr>|}}<!--
 +
-->{{#if:{{{religion_bars|}}}|<tr class="cont"><td colspan="2"><div style="background: #dddddd; text-align: center; padding: .1em;"><b>Religion</b></div></td></tr>
 +
<tr><td colspan="2"><table class="barbox" style="background: #ffffff; font-size:88%; padding:0.4em; width:auto;">{{{religion_bars|}}}</table></td></tr>|}}<!-
 +
 
 +
 
 +
 
  
 
==Icon gallery==
 
==Icon gallery==

Revision as of 03:40, 3 January 2023

Infobox modules for copy and paste

Basic modules

Table head

<table class="infobox"><tr class="cont"><th colspan="2" style="text-align:center; background: #e8caca;>[[File:xxxxxxSELECTICONFROMGALLERYxxxxxx.svg|50px|link=]]</th></tr>
<tr><th colspan="2" style="text-align:center; background: #e8caca;">xxxxxxBOXNAMExxxxxx</th></tr>

Line which continues

<tr class="cont"><td><b>xxxKEYxxx</b></td><td>xxxVALUExxx</td></tr>

Single line

<tr><td><b>xxxKEYxxx</b></td><td>xxxVALUExxx</td></tr>

Single line with leading dot

<tr><td>• xxxKEYxxx</td><td>xxxVALUExxx</td></tr>

Table foot

</table>

More advanced modules

<tr class="cont"><td colspan="2"><div style="background: #dddddd; text-align: center; padding: .1em;"><b>xxxHEADLINExxx</b></div></td></tr>
<tr><td colspan="2">
<table class="barbox" style="background: #ffffff; font-size:88%; padding:0.4em; width:auto;">
{{bar percent|xxxOPTIONxxx|blue|93.1}}
{{bar percent|xxxOPTIONxxx|cornflowerblue|5.1}}
{{bar percent|xxxOPTIONxxx|gold|2.2}}
{{bar percent|Other|black|0.9}}
</table></td></tr>
xxxHEADLINExxx
xxxOPTIONxxx
  
93.1%
xxxOPTIONxxx
  
5.1%
xxxOPTIONxxx
  
2.2%
Other
  
0.9%




<tr class="cont"><td colspan="2"><div style="background: #dddddd; text-align: center; padding: .1em;"><b>Major political parties</b></div></td></tr>
<tr><td colspan="2"><div style="columns: 1em 2;">{{{political_parties|}}}</div></td></tr>
Major political parties



| ethnicity_bars = Mergan

  

93.1% x

  

1.1% x

  

0.9% Other

  

0.9% | religion_plain = x | religion_bars = Christicism

  

89.1% Other Christics

  

1.9% x

  

3.8% Irreligious

  

3.3% Other

  

0.9% | literacy = Steady 99.3% | life_expectancy = Increase 78 (male)
Steady 85 (female)

X


-->


--><!-



Icon gallery

Tests

Test 1

This section is a blind text and will be expanded hopefully soon. Similar blind texts will be edited and expanded by the corresponding territory's owner. If you have any ideas about it, feel free to participate and edit this section. However, please respect other people's previous work – if you want to change already-developed ideas, contact the author. A stub is an article that, although sometimes providing more or less useful information, is too short to provide OGF encyclopedic coverage of a subject, and that is capable of expansion.

Symbol Industry.svg
xxxxxxBOXNAMExxxxxx
xxxKEYxxxxxxVALUExxx
xxxKEYxxxxxxVALUExxx
• xxxKEYxxxxxxVALUExxx

This section is a blind text and will be expanded hopefully soon. Similar blind texts will be edited and expanded by the corresponding territory's owner. If you have any ideas about it, feel free to participate and edit this section. However, please respect other people's previous work – if you want to change already-developed ideas, contact the author. A stub is an article that, although sometimes providing more or less useful information, is too short to provide OGF encyclopedic coverage of a subject, and that is capable of expansion. Also non-article pages, such as disambiguation pages, lists, categories, templates, talk pages, and redirects, can be regarded as stubs. Due to the lack of time, some stub articles have little verifiable information, but its subject has an apparent notability. Stub articles and sections are very important to the life of a wiki. Adding a topic might inspire another community member to add to it, and eventually the topic has enough content to be valuable to the community. Stub pages help show the progressive nature of the wiki. Sizable articles are usually not considered stubs, even if they have significant problems or are noticeably incomplete. Over the years, different editors have followed different rules of thumb to help them decide when an article is likely to be a stub. Editors may decide that an article with more than ten sentences is too big to be a stub, or that the threshold for another article may be 250 words. Others follow other standards of e.g. 1500 characters in the main text. There is no set size at which an article stops being a stub.