Jump to content

Template:Talk header/sandbox: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
sync from live template
flexible colspan
(One intermediate revision by one other user not shown)
Line 11: Line 11:
|class="tmbox tmbox-notice plainlinks" id="talkheader" style="border-collapse: separate; text-align: center;"
|class="tmbox tmbox-notice plainlinks" id="talkheader" style="border-collapse: separate; text-align: center;"
}} ><tr>
}} ><tr>
<td colspan=4 style="border-bottom: 1px solid #c0c090; font-weight: bold;">{{#if:{{{custom_header|}}}|{{{custom_header}}}|{{#ifeq:{{NAMESPACE}}|User talk|This is [[{{SUBJECTPAGENAME}}|{{PAGENAME}}]]'s [[Wikipedia:Talk page guidelines|talk page]], where you can send messages and comments to {{PAGENAME}}.|This is the [[Wikipedia:Talk page guidelines|talk page]] for discussing {{#if:{{{wp|}}}|[[:{{SUBJECTPAGENAME}}|{{PAGENAME}}]] and anything related to its purposes and tasks|improvements to the [[:{{SUBJECTPAGENAME}}|{{#if:{{{display_title|}}}|{{{display_title}}}|{{PAGENAME}}}}]] {{pagetype}}}}.<br/> {{#if:{{SUBJECTSPACE}}||This is [[Wikipedia:What Wikipedia is not#FORUM|not a forum]] for general discussion of the article's subject.}}}}}}</td>
<td colspan={{#switch:{{#if:{{{1|}}}{{{shortcut|}}}{{{shortcut1|}}}{{{sc|}}}{{{sc1|}}}|yes}}{{#switch:yes|{{{arpol|}}}|{{#if:{{SUBJECTSPACE}}|no|yes}}=yes}}|yesyes=4|yes=3|2}} style="border-bottom: 1px solid #c0c090; font-weight: bold;">{{#if:{{{custom_header|}}}|{{{custom_header}}}|{{#ifeq:{{NAMESPACE}}|User talk|This is [[{{SUBJECTPAGENAME}}|{{PAGENAME}}]]'s [[Wikipedia:Talk page guidelines|talk page]], where you can send messages and comments to {{PAGENAME}}.|This is the [[Wikipedia:Talk page guidelines|talk page]] for discussing {{#if:{{{wp|}}}|[[:{{SUBJECTPAGENAME}}|{{PAGENAME}}]] and anything related to its purposes and tasks|improvements to the [[:{{SUBJECTPAGENAME}}|{{#if:{{{display_title|}}}|{{{display_title}}}|{{PAGENAME}}}}]] {{pagetype}}}}.<br/> {{#if:{{SUBJECTSPACE}}||This is [[Wikipedia:What Wikipedia is not#FORUM|not a forum]] for general discussion of the article's subject.}}}}}}</td>
</tr><tr style="text-align: left;">
</tr><tr style="text-align: left;">
<td style="background-color: white; border: 1px solid #c0c090">
<td style="background-color: white; border: 1px solid #c0c090">
Line 30: Line 30:
</tr>
</tr>
{{#if:{{{noarchive|{{{noarchives|}}}}}}||{{#ifexist:{{FULLPAGENAME}}/Archive 1|
{{#if:{{{noarchive|{{{noarchives|}}}}}}||{{#ifexist:{{FULLPAGENAME}}/Archive 1|
<tr><td colspan=4 style="border-top: 1px solid #c0c090; padding: 1px 3px">'''[[Help: Archiving a talk page|Archives]]:''' {{#ifexist:{{FULLPAGENAME}}/Archive index|[[{{FULLPAGENAME}}/Archive index|Index]],&#32;}}{{#ifexist:{{FULLPAGENAME}}/Archive A|{{Archive list alpha|nobr=yes|root={{FULLPAGENAME}}}},&#32;|}}{{Archive list|nobr=yes|root={{FULLPAGENAME}}}}</td>
<tr><td colspan={{#switch:{{#if:{{{1|}}}{{{shortcut|}}}{{{shortcut1|}}}{{{sc|}}}{{{sc1|}}}|yes}}{{#switch:yes|{{{arpol|}}}|{{#if:{{SUBJECTSPACE}}|no|yes}}=yes}}|yesyes=4|yes=3|2}} style="border-top: 1px solid #c0c090; padding: 1px 3px">'''[[Help: Archiving a talk page|Archives]]:''' {{#ifexist:{{FULLPAGENAME}}/Archive index|[[{{FULLPAGENAME}}/Archive index|Index]],&#32;}}{{#ifexist:{{FULLPAGENAME}}/Archive A|{{Archive list alpha|nobr=yes|root={{FULLPAGENAME}}}},&#32;|}}{{Archive list|nobr=yes|root={{FULLPAGENAME}}}}</td>
</tr>
</tr>
}}
}}
}}
}}
{{#if:{{#ifexist:{{FULLPAGENAME}}/Archive 1|y}}{{#ifexist:{{FULLPAGENAME}}/Archive A|y}}{{{search|}}}|{{#ifeq:{{{search|}}}|no||
{{#if:{{#ifexist:{{FULLPAGENAME}}/Archive 1|y}}{{#ifexist:{{FULLPAGENAME}}/Archive A|y}}{{{search|}}}|{{#ifeq:{{{search|}}}|no||
<tr><td colspan=4 style="border-top: 1px solid #c0c090; padding: 0">{{search box|root={{FULLPAGENAME}}|search-break=no|search-width=auto|search-button-label=Search archives}}</td>
<tr><td colspan={{#switch:{{#if:{{{1|}}}{{{shortcut|}}}{{{shortcut1|}}}{{{sc|}}}{{{sc1|}}}|yes}}{{#switch:yes|{{{arpol|}}}|{{#if:{{SUBJECTSPACE}}|no|yes}}=yes}}|yesyes=4|yes=3|2}} style="border-top: 1px solid #c0c090; padding: 0">{{search box|root={{FULLPAGENAME}}|search-break=no|search-width=auto|search-button-label=Search archives}}</td>
</tr>
</tr>
}}
}}

Revision as of 22:10, 21 January 2020