ผลต่างระหว่างรุ่นของ "แม่แบบ:กล่องข้อมูล อำเภอ"

เนื้อหาที่ลบ เนื้อหาที่เพิ่ม
Potapt (คุย | ส่วนร่วม)
ไม่มีความย่อการแก้ไข
Potapt (คุย | ส่วนร่วม)
ไม่มีความย่อการแก้ไข
บรรทัด 1:
{| style="float: right"
<noinclude>
| <div style = "float: right; margin: 0; width: auto; text-align: center; font-size: 90%; font-family: lucida grande, sans-serif; line-height: 1.4em;">
<pre>
<!-- start of floated right section -->
{{ตารางอำเภอ1
{| style="border: 1px solid #ccd2d9; width: 280px; background: #f9f9f9; padding: 0.5em; text-align: center;"
| name =
| style = "margin-left: inherit; font-size: 135%; padding: 3px; background: #99aa99; color:white;" | '''อำเภอ{{{name}}}'''
| english =
|-
| image_map = (ภาพใส่เอง นอกเหนือจาก geocode)
|{{#if:{{{image_map|0}}}|[[ภาพ:{{{image_map}}}{{!}}250px{{!}}แผนที่จังหวัด{{{province}}} เน้นอำเภอ{{{name}}}]]|[[ภาพ:Amphoe {{{geocode}}}.{{#ifexist:ภาพ:Amphoe {{{geocode}}}.svg|svg|png}}{{!}}250px{{!}}แผนที่จังหวัด{{{province}}} เน้นอำเภอ{{{name}}}]]}}
| คำขวัญ =
|-
| province =
| ''{{{คำขวัญ}}}''
| postal_code =
|-
| geocode =
| style = "background: #ccddcc; " | '''ข้อมูลทั่วไป'''
| tree =
|-
| flower =
|<!-- start -- general data's box -->
| area =
{| width="100%" style="background: transparent; text-align: left; table-layout: auto; border-collapse: collapse; padding: 0; font-size: 100%;" cellspacing="0" cellpadding="0"
| population =
| style = "padding: 0.4em 1em 0.4em 0; vertical-align: top; text-align: left;" | '''อักษรไทย'''
| population_as_of =
| style = "padding: 0.4em 1em 0.4em 0; vertical-align: top" | อำเภอ{{{name}}}
| density =
|-
| capital =
{{#if:{{{english<includeonly>|</includeonly>}}} | {{!}} {{เซลล์กล่องข้อมูล}} {{!}} '''อักษรโรมัน'''
| coordinates =
{{!}} {{เซลล์กล่องข้อมูล}} {{!}} Amphoe {{{english}}} }}
| officer =
|-
| phone =
{{#if:{{{province<includeonly>|</includeonly>}}} | {{!}} {{เซลล์กล่องข้อมูล}} {{!}} '''จังหวัด'''
| fax =
{{!}} {{เซลล์กล่องข้อมูล}} {{!}} [[จังหวัด{{{province}}}|{{{province}}}]] }}
| website =
|-
}}
{{#if:{{{ชื่อนายอำเภอ<includeonly>|</includeonly>}}} | {{!}} {{เซลล์กล่องข้อมูล}} {{!}} '''นายอำเภอ'''
</pre>
{{!}} {{เซลล์กล่องข้อมูล}} {{!}} {{{officer}}} }}
 
|-
== แม่แบบ ==
{{#if:{{{geocode<includeonly>|</includeonly>}}} | {{!}} {{เซลล์กล่องข้อมูล}} {{!}} '''[[รหัสทางภูมิศาสตร์]]'''
</noinclude>{{ตารางอำเภอ1
{{!}} {{เซลล์กล่องข้อมูล}} {{!}} {{{geocode}}} }}
| name = {{{name}}}
|-
| english = {{{english}}}
{{#if:{{{postal_code<includeonly>|</includeonly>}}} | {{!}} {{เซลล์กล่องข้อมูล}} {{!}} '''[[รหัสไปรษณีย์ไทยเรียงตามจังหวัด|รหัสไปรษณีย์]]'''
| image_map = {{{image_map|}}}
{{!}} {{เซลล์กล่องข้อมูล}} {{!}} {{{postal_code}}} }}
| คำขวัญ = {{{คำขวัญ|}}}
|-
| province = {{{province}}}
{{#if:{{{tree<includeonly>|</includeonly>}}} | {{!}} {{เซลล์กล่องข้อมูล}} {{!}} '''ต้นไม้ประจำอำเภอ'''
| postal_code = {{{postal_code|}}}
{{!}} {{เซลล์กล่องข้อมูล}} {{!}} {{{tree}}} }}
| geocode = {{{geocode}}}
|-
| tree = {{{tree|}}}
{{#if:{{{flower<includeonly>|</includeonly>}}} | {{!}} {{เซลล์กล่องข้อมูล}} {{!}} '''ดอกไม้ประจำอำเภอ'''
| flower = {{{flower|}}}
{{!}} {{เซลล์กล่องข้อมูล}} {{!}} {{{flower}}} }}
| area = {{{area|}}}
|-
| population = {{{population|}}}
| colspan="2" style="background: #ccddcc; text-align: center;"| '''ข้อมูลสถิติ'''
| population_as_of = {{{population_as_of|}}}
|-
| density = {{{density|}}}
{{#if:{{{area<includeonly>|</includeonly>}}} | {{!}} {{เซลล์กล่องข้อมูล}} {{!}} '''พื้นที่'''
| capital = {{{capital|}}}
{{!}} {{เซลล์กล่องข้อมูล}} {{!}} {{{area}}} [[ตารางกิโลเมตร|ตร.กม.]] }}
| coordinates = {{{coordinates|}}}
|-
| officer = {{{officer|}}}
{{#if:{{{population<includeonly>|</includeonly>}}} | {{!}} {{เซลล์กล่องข้อมูล}} {{!}} '''ประชากร'''
| phone = {{{phone|}}}
{{!}} {{เซลล์กล่องข้อมูล}} {{!}} {{{population}}} คน }} {{#if:{{{population_as_of<includeonly>|</includeonly>}}} | <small>([[พ.ศ. {{{population_as_of}}}]]) </small> }}
| fax = {{{fax|}}}
|-
| website = {{{website|}}}|
{{#if:{{{density<includeonly>|</includeonly>}}} | {{!}} {{เซลล์กล่องข้อมูล}} {{!}} '''ความหนาแน่น'''
}}<noinclude>
{{!}} {{เซลล์กล่องข้อมูล}} {{!}} {{{density}}} คน/[[ตร.กม.]]}}
 
|-
</noinclude>
{{#if:{{{{ศูนย์ราชการ<includeonly>|</includeonly>}}} | {{!}} colspan="2" style="background: #ccddcc; text-align: center;" {{!}} '''ที่ว่าการอำเภอ''' }}
|-
{{#if:{{{capital<includeonly>|</includeonly>}}} | {{!}} style="padding: 0.4em 1em 0.4em 0; vertical-align: top; text-align: left;" {{!}} '''ที่ตั้ง'''
{{!}} style="padding: 0.4em 1em 0.4em 0; vertical-align: top" {{!}} {{{capital}}} }}
|-
{{#if:{{{coordinates<includeonly>|</includeonly>}}} | {{!}} {{เซลล์กล่องข้อมูล}} {{!}} '''พิกัด'''
{{!}} {{เซลล์กล่องข้อมูล}} {{!}} {{{coordinates}}} }}
|-
{{#if:{{{phone<includeonly>|</includeonly>}}} | {{!}} {{เซลล์กล่องข้อมูล}} {{!}} '''หมายเลขโทรศัพท์'''
{{!}} {{เซลล์กล่องข้อมูล}} {{!}} {{{phone}}} }}
|-
{{#if:{{{fax<includeonly>|</includeonly>}}} | {{!}} {{เซลล์กล่องข้อมูล}} {{!}} '''หมายเลขโทรสาร'''
{{!}} {{เซลล์กล่องข้อมูล}} {{!}} {{{fax}}} }}
|-
{{#if:{{{website<includeonly>|</includeonly>}}} | {{!}} {{เซลล์กล่องข้อมูล}} {{!}} '''[[เว็บไซต์]]'''
{{!}} {{เซลล์กล่องข้อมูล}} {{!}} [{{{website}}} {{PAGENAME}}] }}
|-
| colspan="2" align="center" valign="middle" |
----
[[ภาพ:PortalTH onlylogo.png|30px|สารานุกรมประเทศไทย]] '''ส่วนหนึ่งของ[[สถานีย่อย:ประเทศไทย|สารานุกรมประเทศไทย]]'''
|}
|}
<!-- end of slate grey box -->
</div>
|}