ผลต่างระหว่างรุ่นของ "แม่แบบ:หัวเรื่องงานแปล"
เนื้อหาที่ลบ เนื้อหาที่เพิ่ม
Bitterschoko (คุย | ส่วนร่วม) ไม่มีความย่อการแก้ไข |
Miwako Sato (คุย | ส่วนร่วม) ไม่มีความย่อการแก้ไข |
||
บรรทัดที่ 1:
<!--
Text status badge (via Wikidata)
-->{{#invoke:edition|badge|category=1|indicator=1}}<!--
Begin
--><div id="headerContainer" class="ws-noexport noprint
Make sure no parameters are removed
--><includeonly>
เส้น 14 ⟶ 16:
|{{{ก่อนหน้า|{{{previous|undef!}}}}}}
|{{{ถัดไป|{{{next|undef!}}}}}}
|{{{หมายเหตุ|{{{notes|undef!}}}}}} = <div style="margin-right:auto; margin-left:auto; border-top:1px solid #CCC; border-right:1px solid #CCC; border-bottom:1px hidden transparent; border-left:1px solid #CCC; text-align:center;"><span class="error" style="font-size:90%; font-weight:bold;">แม่แบบผิดพลาด: มีการลบช่องที่ไม่ได้ใช้ออก โปรดเติมกลับเข้าไป (โปรดดู[[แม่แบบ:หัวเรื่องงานแปล#วิธีใช้|เอกสารกำกับแม่แบบ]])</span></div><!--
Also add a tracking category:
บรรทัดที่ 23:
-->}}<!--end switch--></includeonly><!--
Begin navigation header
faux TABLE-->
บรรทัดที่ 36:
faux TD left
Previous page link-->
<div class="gen_header_backlink searchaux" style="display:table-cell; text-align:left; vertical-align:middle; width:20%;"><!--
-->{{#if:{{{ก่อนหน้า|{{{previous|}}}}}}|<span class="searchaux" id="headerprevious">←{{{ก่อนหน้า|{{{previous}}}}}}</span>}}<!--
close faux TD left-->
</div><!--
faux TD center
Title-->
<div class="gen_header_title" style="display:table-cell; text-align:center; width:60%;"><!--
-->'''<span id="header_title_text">{{{ชื่อ|{{{ชื่อเรื่อง|{{{title|ไม่มีชื่อ}}}}}}}}}</span>''' <!--
Year-->{{#if:{{{ปี|{{{year|}}}}}}{{{เขียนทับปี|{{{override_year|}}}}}}<!--
-->|{{#if:{{{เขียนทับปี|{{{override_year|}}}}}}<!--
-->| ({{{เขียนทับปี|{{{override_year}}}}}}) [[หมวดหมู่:หน้าที่มีการเขียนทับปี]]<!--
-->|{{หัวเรื่อง/ปี<!--
-->|{{{ปี|{{{year}}}}}}<!-- unaltered user input
-->|noprint | มปป | ม.ป.ป. ={{#if:{{{ไม่ปี|{{{noyear|}}}}}}|1|0}}<!-- send 1 if "noyear" was called and 0 if not
-->|nocat ={{#ifeq:{{{แก้กำกวม|{{{disambiguation|}}}}}}|yes<!--
-->|1<!-- send 1 if this is a disambiguation page and 0 if it is not, unless...
-->|{{#if:{{{หมวดหมู่ไม่ปี|{{{noyearcat|}}}}}}<!--
-->|1<!-- send 1 if "noyearcat" was called and 0 if not, unless...
-->|{{is subpage}}<!-- will return 1 if it is a subpage and 0 if not
-->}}<!--
-->}}<!-- a result of 1 will turn categorisation off; 0 will keep it on
-->}}<!-- header/year subroutine
-->}}<!-- if override_year
-->}}<!--
Author field
-->{{#if:{{{เขียนทับผู้สร้างสรรค์|{{{override_author|{{{override author|}}}}}}}}}|<!--
Override author
--><br /><i><span id="header_author_text" class="vcard"><span class="fn">{{{เขียนทับผู้สร้างสรรค์|{{{
Normal author
-->{{#if:
Insert a line break if page is *not* a section page
-->{{#if:
--><i>โดย <!--
Catch unknown authors
-->{{#ifeq:{{lc:{{{เขียนทับผู้สร้างสรรค์|{{{override_author|{{{
Link known authors to the author namespace
-->{{#ifexist: ผู้สร้างสรรค์:{{{ผู้สร้างสรรค์|{{{
{{#switch: {{NAMESPACENUMBER}} | 0 | 114=[[หมวดหมู่:งานที่ผู้สร้างสรรค์ไม่มีหน้าเฉพาะ]] | #default = }}<!-- end of switch -->}} [[ผู้สร้างสรรค์:{{{ผู้สร้างสรรค์|{{{author|}}}}}}|<span id="header_author_text" class="vcard"><span class="fn">{{{ผู้สร้างสรรค์|{{{author|}}}}}}</span></span>]]}}</i>}}}}<!-- Editor
-->{{#if:{{{เขียนทับบรรณาธิการ|{{{override_editor|}}}}}}{{{บรรณาธิการ|{{{editor|}}}}}}|<!--
Catch special cases for editors
-->{{#switch:{{lc:{{{เขียนทับบรรณาธิการ|{{{
-->| ? | unknown | ไม่ทราบ | ไม่รู้ =, ''
-->| not mentioned | ไม่ระบุ | ไม่ปรากฏ =, ''
Switch default - the given editor
เส้น 100 ⟶ 104:
--><span id="header_editor_text" class="vcard"><!--
--><span class="fn">{{#if:{{{เขียนทับบรรณาธิการ|{{{override_editor|}}}}}}|{{{เขียนทับบรรณาธิการ|{{{override_editor}}}}}}|
{{#switch: {{NAMESPACENUMBER}}
| 0
| 114=[[หมวดหมู่:งานที่ผู้สร้างสรรค์ไม่มีหน้าเฉพาะ]]
| #default = }}<!-- end of switch -->}}[[ผู้สร้างสรรค์:{{{บรรณาธิการ|{{{editor}}}}}}|{{{บรรณาธิการ|{{{editor}}}}}}]]}}</span></span><!--
--></i>}}<!--
-->}}<!--
<!--
Translation details:
เส้น 111 ⟶ 121:
}}</i><!--
Section
-->{{#if:{{{ส่วน|{{{section|}}}}}}|<br /><span id="header_section_text">{{{ส่วน|{{{section|}}}}}}</span><!--
Section author
-->{{#if:{{{เขียนทับผู้มีส่วนร่วม|{{{override_contributor|}}}}}}{{{ผู้มีส่วนร่วม|{{{contributor|}}}}}}|<!--
--><i> โดย <span id="header_contributor_text" class="vcard"><!--
--><span class="fn">{{#if:{{{เขียนทับผู้มีส่วนร่วม|{{{override_contributor|}}}}}}|{{{เขียนทับผู้มีส่วนร่วม|{{{override_contributor}}}}}}|{{#ifexist: ผู้สร้างสรรค์:{{{ผู้มีส่วนร่วม|{{{contributor}}}}}} || <!-- only required main and translation ns:-->
{{#switch: {{NAMESPACENUMBER}}
| 0
| 114=[[หมวดหมู่:งานที่ผู้สร้างสรรค์ไม่มีหน้าเฉพาะ]]
| #default = }}<!-- end of switch -->}}[[ผู้สร้างสรรค์:{{{ผู้มีส่วนร่วม|{{{contributor}}}}}}|{{{ผู้มีส่วนร่วม|{{{contributor}}}}}}]]}}</span></span><!--
--></i>}}<!--
end of section field
-->}}<!--
เส้น 134 ⟶ 142:
faux TD right
Forelink-->
<div class="gen_header_forelink searchaux" style="display:table-cell; text-align:right; vertical-align:middle; width:20%;">{{#if:{{{ถัดไป|{{{next|}}}}}}|<span class="searchaux" id="headernext">{{{ถัดไป|{{{next}}}}}}→</span>}}<!--
close faux TD right-->
เส้น 148 ⟶ 156:
</div><!--
Notes section
faux TABLE-->
<div id="translation_notes" class="header_notes searchaux" style="display:table; border-collapse:collapse; border-spacing:
faux TBODY-->
เส้น 160 ⟶ 168:
faux TD-->
<div class="searchaux" style="display:table-cell;"><!--
-->{{#ifeq:{{#invoke:Wikibase|id}}|no entity<!--
if page is not connected to Wikidata, only show plain sister if at least one of its parameters is filled in
-->|{{#if:<!--
-->
-->{{{รุ่น|{{{edition|}}}}}}<!--
-->{{{สถานีย่อย|{{{โครงการ|{{{portal|}}}}}}}}}<!--
เส้น 188 ⟶ 196:
-->{{Plain sister<!--
-->| disambiguation =
-->| edition = {{{รุ่น|{{{edition|}}}}}}<!--
-->| portal = {{{สถานีย่อย|{{{โครงการ|{{{portal|}}}}}}}}}<!--
เส้น 211 ⟶ 219:
if page is connected to Wikidata, always show plain sister
-->|{{Plain sister<!--
-->| disambiguation =
-->| edition = {{{รุ่น|{{{edition|}}}}}}<!--
-->| portal = {{{สถานีย่อย|{{{โครงการ|{{{portal|}}}}}}}}}<!--
เส้น 234 ⟶ 242:
Shortcut link
-->{{#if:{{{เว็บย่อ|{{{shortcut|}}}}}}
Notes from parameter
เส้น 252 ⟶ 260:
END OF VISIBLE TEMPLATE
MICROFORMAT DATA-->
เส้น 261 ⟶ 266:
--><span id="ws-article-id">{{{{{|safesubst:}}}PAGEID}}</span><!--
--><span id="ws-title">{{{ชื่อ|{{{ชื่อเรื่อง|{{{title|}}}}}}}}}{{#if:{{{ส่วน|{{{section|}}}}}}| — ''{{{ส่วน|{{{section}}}}}}''}}</span><!--
-->{{#if:{{{ผู้สร้างสรรค์|{{{author|}}}}}}{{{เขียนทับผู้สร้างสรรค์|{{{override_author|}}}}}}<!--
เส้น 267 ⟶ 272:
-->{{#if:{{{เขียนทับผู้สร้างสรรค์|{{{override_author|}}}}}}<!--
-->|{{{เขียนทับผู้สร้างสรรค์|{{{override_author}}}}}}<!--
-->|{{{ผู้สร้างสรรค์|{{{author|}}}}}}<!--
-->}}<!--
--></span><!--
เส้น 278 ⟶ 283:
-->{{#if:{{{เขียนทับผู้แปล|{{{override_translator|}}}}}}<!--
-->|{{{เขียนทับผู้แปล|{{{override_translator}}}}}}<!--
-->|{{{ผู้แปล|{{{translator
-->}}<!--
--></span><!--
เส้น 298 ⟶ 303:
</div><!--
Subpages
-->{{#ifeq:{{BASEPAGENAME}}|{{PAGENAME}}||{{#switch:1
|{{#ifexist:{{#rel2abs:../}}|1}}
|{{#ifexist:{{#rel2abs:../../}}|1}}
|{{#ifexist:{{#rel2abs:../../../}}|1}} = [[หมวดหมู่:{{#if:{{NAMESPACE}}|หน้าย่อยของ{{NAMESPACE}}
}}}}<!--
Categories:
-->{{#if:{{{หมวดหมู่|{{{categories|}}}}}}
|<!-- Replace each string that ends in a slash with a category definition.
This does include the final one because we're adding a slash to the input string.
-->{{#invoke:String|replace|{{{หมวดหมู่|{{{categories}}}}}}/|([^/]+)/*|[[หมวดหมู่:%1]]||plain=false }}<!--
-->}}<!--
Track pages using the author override
-->{{#if:{{{เขียนทับผู้สร้างสรรค์|{{{override_author|}}}}}}|[[หมวดหมู่:หน้าที่มีการเขียนทับผู้สร้างสรรค์]]}}<!--
Track pages
-->{{#if:{{{ผู้มีส่วนร่วม|{{{contributor|}}}}}}|[[หมวดหมู่:หน้าที่ระบุผู้มีส่วนร่วม]]}}<!--
Track pages using
-->{{#if:{{{เขียนทับผู้
Track pages with no author given
-->{{#ifeq:{{lc:{{{เขียนทับผู้สร้างสรรค์|{{{override_author|{{{ผู้สร้างสรรค์|{{{author|}}}}}}}}}}}}}}|unknown|[[หมวดหมู่:เอกสารที่ผู้สร้างสรรค์เป็นบุคคลนิรนาม]]}}<!--
Track pages using shortcuts
-->{{#if:{{{เว็บย่อ|{{{shortcut|}}}}}}|[[หมวดหมู่:หน้าเมนสเปซที่มีเว็บย่อ]]}}<!--
Track pages using the year override options
-->{{#if:{{{เขียนทับปี|{{{override_year|}}}}}}|[[หมวดหมู่:หน้าที่มีการเขียนทับปี]]}}<!--
-->{{#if:{{{ไม่ปี|{{{noyear|}}}}}}|[[หมวดหมู่:หน้าที่ใช้พารามิเตอร์ไม่ปี]]}}<!--
-->{{#if:{{{หมวดหมู่ไม่ปี|{{{noyearcat|}}}}}}|[[หมวดหมู่:หน้าที่ใช้พารามิเตอร์หมวดหมู่ไม่ปี]]}}<!--
END OF NON-VISIBLE CONTENT
--></includeonly><!--
|