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

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