Template:Talk header: Difference between revisions

Safer nicotine wiki Tobacco Harm Reduction
Jump to navigation Jump to search
m (1 revision imported)
(Sync with sandbox to incorporate yearly archive lists)
Line 1: Line 1:
<templatestyles src="Talk header/styles.css" />
<templatestyles src="Talk header/styles.css" />
{{#ifeq:{{{bottom}}}|yes
{{#ifeq: {{{bottom}}} | yes
| {{ tmbox
| {{Tmbox
| small = {{{small|}}}
| small = {{{small|}}}
| image = none
| image = none
| style = text-align: center
| style = text-align: center
| text  = {{strong|Please place new discussions at the bottom of the talk page.}}
| text  = {{Strong|Please place new discussions at the bottom of the talk page.}}
}}
}}
}}{{#ifeq:{{{disclaimer|}}}|yes|{{#ifeq:{{NAMESPACENUMBER}}|3|{{usertalkpage}}}}}}
}}{{#ifeq: {{{disclaimer|}}} | yes | {{#ifeq: {{NAMESPACENUMBER}} | 3 | {{User page}} }}}}
<table role="presentation" {{#ifexpr:{{#ifeq:{{NAMESPACE}}|User talk|1|0}}*{{#ifeq:{{{disclaimer|}}}|yes|1|0}}
<table role="presentation" {{#ifexpr: {{#ifeq: {{NAMESPACE}} | User talk | 1 | 0 }} * {{#ifeq: {{{disclaimer|}}} | yes | 1 | 0 }}
  |class="talkheader" style="border: 1px solid #c0c090; border-spacing:3px; background-color: #F8EABA; margin-bottom: 0px; width: 100%;"
  |class="talkheader" style="border: 1px solid #c0c090; border-spacing: 3px; background-color: #F8EABA; margin-bottom: 0px; width: 100%;"
  |class="tmbox tmbox-notice talkheader plainlinks" id="talkheader" style="border-collapse: separate;"
  |class="tmbox tmbox-notice talkheader plainlinks" id="talkheader" style="border-collapse: separate;"
}} ><tr>
}} ><tr>
<td style="border-bottom: 1px solid #c0c090; font-weight: bold;">{{#if:{{{custom_header|}}}|{{{custom_header}}}|{{#ifeq:{{NAMESPACE}}|User talk|This is {{subpage other|a subpage of&#32;}}[[{{#titleparts: {{SUBJECTPAGENAME}}|1}}|{{#titleparts: {{PAGENAME}}|1}}]]'s [[Wikipedia:Talk page guidelines|talk page]], where you can send {{gender |{{#titleparts: {{PAGENAME}}|1}} |obj}} messages and comments.|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 style="border-bottom: 1px solid #c0c090; font-weight: bold;">{{#if: {{{custom_header|}}} | {{{custom_header}}} | {{#ifeq: {{NAMESPACE}} | User talk | This is {{Subpage other|a subpage of&#32;}}[[{{#titleparts: {{SUBJECTPAGENAME}}|1}}|{{#titleparts: {{PAGENAME}}|1}}]]'s [[Wikipedia:Talk page guidelines|talk page]], where you can send {{Gender|{{#titleparts: {{PAGENAME}}|1}}|obj}} messages and comments.|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>
<tr>
<tr>
Line 18: Line 18:
<div class="talkheader-body">
<div class="talkheader-body">
<div class="talkheader-help">
<div class="talkheader-help">
* Put new text under old text. {{strong|[[Special:NewSection/{{TALKPAGENAMEE}}|Click here to start a new topic.]]}}
* Put new text under old text. {{Strong|[[Special:NewSection/{{TALKPAGENAMEE}}|Click here to start a new topic.]]}}
* [[Wikipedia:Signatures|Sign your posts]] by typing four tildes {{nowrap|(<code><nowiki>~~~~</nowiki></code>)}}.
* [[Wikipedia:Signatures|Sign your posts]] by typing four tildes {{Nowrap|(<code><nowiki>~~~~</nowiki></code>)}}.
* New to Wikipedia? Welcome! [[Help:Introduction|Learn to edit]]; [[Wikipedia:Questions|get help]].
* New to Wikipedia? Welcome! [[Help:Introduction|Learn to edit]]; [[Wikipedia:Questions|get help]].
</div>
</div>
Line 27: Line 27:
* [[Wikipedia:Please do not bite the newcomers|Be welcoming to newcomers]]
* [[Wikipedia:Please do not bite the newcomers|Be welcoming to newcomers]]
* Seek [[Wikipedia:Dispute resolution requests|dispute resolution]] if needed
* Seek [[Wikipedia:Dispute resolution requests|dispute resolution]] if needed
</div>{{#switch:yes|{{{arpol|}}}|{{#if:{{SUBJECTSPACE}}|no|yes}}=
</div>{{#switch:yes|{{{arpol|}}}|{{#if: {{SUBJECTSPACE}} | no | yes}}=
<div class="talkheader-policies">
<div class="talkheader-policies">
<div>'''Article policies'''
<div>'''Article policies'''
Line 35: Line 35:
</div>
</div>
</div>
</div>
}}{{#if:{{{1|}}}{{{shortcut|}}}{{{shortcut1|}}}{{{sc|}}}{{{sc1|}}}|
}}{{#if: {{{1|}}}{{{shortcut|}}}{{{shortcut1|}}}{{{sc|}}}{{{sc1|}}} |
<div class="talkheader-shortcuts">
<div class="talkheader-shortcuts">
{{shortcut|{{{1|{{{shortcut|{{{shortcut1|{{{sc|{{{sc1|}}}}}}}}}}}}}}}|{{{2|{{{shortcut2|{{{sc2|}}}}}}}}}|{{{3|{{{shortcut3|{{{sc3|}}}}}}}}}|{{{4|{{{shortcut4|{{{sc4|}}}}}}}}}|{{{5|{{{shortcut5|{{{sc5|}}}}}}}}} }}
{{Shortcut|{{{1|{{{shortcut|{{{shortcut1|{{{sc|{{{sc1|}}}}}}}}}}}}}}}|{{{2|{{{shortcut2|{{{sc2|}}}}}}}}}|{{{3|{{{shortcut3|{{{sc3|}}}}}}}}}|{{{4|{{{shortcut4|{{{sc4|}}}}}}}}}|{{{5|{{{shortcut5|{{{sc5|}}}}}}}}} }}
</div>
</div>
}}
}}
</div>
</div>
</td>
</td>
</tr>{{ifor |test1=<includeonly>{{NAMESPACENUMBER}}</includeonly><noinclude>1</noinclude>|val1=1|test2={{{demospace|}}}|val2=1|test3={{{demospace|}}}|val3=main|then={{#ifeq:{{yesno-no|{{{hide_find_sources|}}}}}|yes||
</tr>{{#if: <noinclude>1</noinclude>{{#ifeq:{{NAMESPACENUMBER}}|1|1}}{{#ifeq:{{{demospace|}}}|1|1}}{{#ifeq:{{{demospace|}}}|main|1}}|
<tr><td style="border-top: 1px solid #c0c090; padding: 1px 3px">{{find sources|{{{search_term|{{{search_term1|}}}}}}|{{{search_term2|}}}|{{{search_term3|}}}|{{{search_term4|}}}}}</td></tr>}}}}{{#if:{{{noarchive|{{{noarchives|{{{archives|}}}}}}}}}||{{#ifexist:{{FULLPAGENAME}}/Archive 1|
    {{#ifeq: {{Yesno-no|{{{hide_find_sources|}}}}} | yes ||
<tr><td 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:User:ClueBot III/Master Detailed Indices/{{FULLPAGENAME}}|[[User:ClueBot III/Master Detailed Indices/{{FULLPAGENAME}}|Index]],&#32;}}{{#ifexist:{{FULLPAGENAME}}/Archive A|{{Archive list alpha|nobr=yes|root={{FULLPAGENAME}}}},&#32;|}}{{Archive list|nobr=yes|root={{FULLPAGENAME}}}}{{#if:{{{archive_age|{{{age|}}}}}}|<span style="position:relative; top:2px; float:right; font-size:90%;">{{tooltip|Auto-archiving period|Discussions with timestamps are automatically archived by {{{archive_bot|{{{bot|a bot}}}}}} after {{{archive_age|{{{age|}}}}}}&nbsp;{{{archive_units|{{{units|days}}}}}} of inactivity{{#if:{{{minthreadsleft|}}}|&#32;when more then {{{minthreadsleft|}}} threads are present}}.}}: '''{{{archive_age|{{{age|}}}}}}&nbsp;{{{archive_units|{{{units|days}}}}}}'''&nbsp;[[File:Information icon4.svg|16px|link=Help:Archiving a talk page#Automated archiving|alt=]]</span>}}</td>
<tr><td style="border-top: 1px solid #c0c090; padding: 1px 3px;">{{Find sources|{{{search_term|{{{search_term1|}}}}}}|{{{search_term2|}}}|{{{search_term3|}}}|{{{search_term4|}}}|domain={{{domain|{{{search-domain|}}}}}}}}</td></tr>}}}}{{#if: {{{noarchive|{{{noarchives|{{{archives|}}}}}}}}} || {{#if:{{#ifexist: {{FULLPAGENAME}}/Archive 1 |yes}}{{Yearly archive list|root={{FULLPAGENAME}}}}|
<tr><td 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: User:ClueBot III/Master Detailed Indices/{{FULLPAGENAME}} | [[User:ClueBot III/Master Detailed Indices/{{FULLPAGENAME}}|Index]],&#32;}}{{#ifexist: {{FULLPAGENAME}}/Archive A | {{Archive list alpha|nobr=yes|root={{FULLPAGENAME}}}},&#32;|}}{{#ifexist: {{FULLPAGENAME}}/Archive 1 |{{Archive list|nobr=yes|root={{FULLPAGENAME}}}}}}{{Yearly archive list|root={{FULLPAGENAME}}}}{{#if:{{{archive_age|{{{age|}}}}}}|<span style="position: relative; top: 2px; float: right; font-size: 90%;">{{Tooltip|Auto-archiving period|Discussions with timestamps are automatically archived by {{{archive_bot|{{{bot|a bot}}}}}} after {{{archive_age|{{{age|}}}}}}&nbsp;{{{archive_units|{{{units|days}}}}}} of inactivity{{#if: {{{minthreadsleft|}}} | &#32;when more than {{{minthreadsleft|}}} threads are present}}.}}: '''{{{archive_age|{{{age|}}}}}}&nbsp;{{{archive_units|{{{units|days}}}}}}'''&nbsp;[[File:Information icon4.svg|16px|link=Help:Archiving a talk page#Automated archiving|alt=]]</span>}}</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}}{{#ifexist: {{FULLPAGENAME}}/Archive {{LASTYEAR}} | y}}{{#ifexist: {{FULLPAGENAME}}/Archive {{CURRENTYEAR}} | y}}{{{search|}}}|{{#ifeq: {{{search|}}} | no ||
<tr><td 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 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>
}}
}}
}}
}}
</table><noinclude>
</table><!--Tracking categories
{{documentation}}
-->{{#invoke:Check for unknown parameters|check|unknown={{Main other|[[Category:Pages using Talk header with unknown parameters|_VALUE_{{PAGENAME}}]]}}|preview=Page using [[Template:Talk header]] with unknown parameter "_VALUE_"|showblankpositional=1| 1 | 2 | 3 | 4 | 5 | age | archive_age | archive_bot | archive_units | archives | arpol | bot | bottom | custom_header | domain | demospace | disclaimer | display_title | hide_find_sources | minthreadsleft | noarchive | noarchives | sc | sc1 | sc2 | sc3 | sc4 | sc5 | search | search-domain | search_term | search_term1 | search_term2 | search_term3 | search_term4 | shortcut | shortcut1 | shortcut2 | shortcut3 | shortcut4 | shortcut5 | small | units | wp }}<!--
--><noinclude>
{{Documentation}}
</noinclude>
</noinclude>

Revision as of 22:06, 25 December 2021