Difference between revisions of "Template:EnderalSettlements"
From sureai
(Improved templated (as asked by User:Jemolk)) |
(Improved template sizing) |
||
Line 1: | Line 1: | ||
− | {| style = "float: right; background: RGB(177, 171, 143); border-collapse: collapse; margin: 5px 5px 10px 20px; " | + | {| style = "float: right; background: RGB(177, 171, 143); border-collapse: collapse; margin: 5px 5px 10px 20px; width: 300px; " |
| colspan="2" style="background: RGB(147, 56, 56); border-radius: 5px; text-align: center; color: white; font-weight: bold; width: 100%; "| <div style="font-size: 150%; padding: 0 10px; "> {{{name|{{PAGENAME}}}}} </div> | | colspan="2" style="background: RGB(147, 56, 56); border-radius: 5px; text-align: center; color: white; font-weight: bold; width: 100%; "| <div style="font-size: 150%; padding: 0 10px; "> {{{name|{{PAGENAME}}}}} </div> | ||
Line 6: | Line 6: | ||
|- | |- | ||
| style="text-align: right; padding-right: 5px; width: 50%;" | '''Settlement Type''' | | style="text-align: right; padding-right: 5px; width: 50%;" | '''Settlement Type''' | ||
− | | {{{type|-}}} | + | | style="width: 50%; " | {{{type|-}}} |
|- | |- | ||
− | |style="text-align: right; padding-right: 5px; " | '''Region''' | + | |style="text-align: right; padding-right: 5px; width: 50%; " | '''Region''' |
− | | {{{region|-}}} | + | | style="width: 50%; " | {{{region|-}}} |
|- | |- | ||
− | |style="text-align: right; padding-right: 5px; " | '''Mayor''' | + | |style="text-align: right; padding-right: 5px; width: 50%; " | '''Mayor''' |
− | | {{{mayor|-}}} | + | | style="width: 50%; " | {{{mayor|-}}} |
|- | |- | ||
− | |style="text-align: right; padding-right: 5px; " | '''Population''' | + | |style="text-align: right; padding-right: 5px; width: 50%; " | '''Population''' |
− | | {{{pop|-}}} | + | | style="width: 50%; " | {{{pop|-}}} |
|} | |} | ||
Revision as of 21:42, 31 August 2016
EnderalSettlements
| |
Settlement Type | - |
Region | - |
Mayor | - |
Population | - |
Usage
Parameters
- Text Parameters: name, image, type, region, mayor, pop
If the parameter "name" is not set, the template will use the current page's name (without the namespace) as a name.
Examples
{{EnderalSettlements |name = SureAI Wiki |image = EN-Place-Fogwatch.png |type = Wiki |region = The Internet |mayor = Everyone |pop= 9001 }}
SureAI Wiki
| |
Settlement Type | Wiki |
Region | The Internet |
Mayor | Everyone |
Population | 9001 |