Difference between revisions of "Template:Talkheader"

From Stardew Valley Wiki
Jump to navigation Jump to search
(Attempt #2 at linking to the subject page, not self-linking to the talk page)
 
(11 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<includeonly>{| id="talkheaderbody" align="center" cellpadding="4"
+
<includeonly><templatestyles src="Template:Talkheader/styles.css" />
 +
{| id="talkheaderbody"
 
|-
 
|-
! colspan="2" id="talkheadertitle" | {{#ifeq:{{NAMESPACE}}|User talk|This is [[{{#ifeq:{{lc:{{#sub:{{#titleparts:{{PAGENAME}}||-1}}|0|7}}}}|archive|{{#titleparts:{{SUBJECTPAGENAME}}|-1}}|{{SUBJECTPAGENAME}}}}|{{#ifeq:{{lc:{{#sub:{{#titleparts:{{PAGENAME}}||-1}}|0|7}}}}|archive|{{#titleparts:{{PAGENAME}}|-1}}|<span style="color:white">{{PAGENAME}}}}</span>]]'s talk page, where you can send messages and comments to {{PAGENAME}}.
+
! colspan="2" id="talkheadertitle" | {{#ifeq:{{NAMESPACE}}|User talk|This is [[{{#ifeq:{{lc:{{#sub:{{#titleparts:{{PAGENAME}}||-1}}|0|7}}}}|archive|{{#titleparts:{{SUBJECTPAGENAME}}|-1}}|{{SUBJECTPAGENAME}}}}|{{#ifeq:{{lc:{{#sub:{{#titleparts:{{PAGENAME}}||-1}}|0|7}}}}|archive|{{#titleparts:{{PAGENAME}}|-1}}|<span class="white">{{PAGENAME}}}}</span>]]'s talk page, where you can send messages and comments to {{PAGENAME}}.
 
|
 
|
This talk page is for discussing [{{fullurl:{{SUBJECTPAGENAME}}}} {{#ifeq:{{lc:{{#sub:{{#titleparts:{{PAGENAME}}||-1}}|0|7}}}}|archive|{{#titleparts:{{SUBJECTPAGENAME}}|-1}}|<span style="color:white">{{SUBJECTPAGENAME}}}}</span>].
+
This talk page is for discussing [{{fullurl:{{SUBJECTPAGENAME}}}} {{#ifeq:{{lc:{{#sub:{{#titleparts:{{PAGENAME}}||-1}}|0|7}}}}|archive|{{#titleparts:{{SUBJECTPAGENAME}}|-1}}|<span class="white">{{SUBJECTPAGENAME}}}}</span>].
 
}}
 
}}
 
|-
 
|-
 
||
 
||
 
*Sign and date your posts by typing four tildes (&#126;&#126;&#126;&#126;).
 
*Sign and date your posts by typing four tildes (&#126;&#126;&#126;&#126;).
*Put new text under old text.
+
*Put new text below old text.
| style="margin: 0px; |
+
|
*Be polite
+
*Be polite.
*Assume good faith
+
*Assume good faith.
*Don't delete discussions
+
*Don't delete discussions.
|}{{#if: {{{1}}}|{{#switch:{{lc:{{{1}}}}}
+
|}{{#switch:{{lc:{{{1|}}}}}
 
  | talk = [[Category:Talk pages]]
 
  | talk = [[Category:Talk pages]]
 
  | file = [[Category:File talk pages]]
 
  | file = [[Category:File talk pages]]
Line 19: Line 20:
 
  | user = [[Category:User talk pages]]
 
  | user = [[Category:User talk pages]]
 
  | category = [[Category:Category talk pages]]
 
  | category = [[Category:Category talk pages]]
 +
| modding | mod | mods = [[Category:Modding talk pages]]
 
  | #default = [[Category:Talk pages]]
 
  | #default = [[Category:Talk pages]]
}}}}</includeonly><noinclude>{{{{FULLPAGENAME}}/doc}}</noinclude>
+
}}</includeonly><noinclude>{{{{FULLPAGENAME}}/doc}}</noinclude>

Latest revision as of 22:02, 8 January 2023

Description

This template provides a standardized header for discussion pages.

Use

Enter the following onto a relevant page:

{{Talkheader|''parameter''}}

Parameters

Syntax Adds Category
{{Talkheader}} Category:Talk pages
{{Talkheader|talk}} Category:Talk pages
{{Talkheader|file}} Category:File talk pages
{{Talkheader|template}} Category:Template talk pages
{{Talkheader|user}} Category:User talk pages
{{Talkheader|modding}}

{{Talkheader|mod}}

Category:Modding talk pages
{{Talkheader|category}} Category:Category talk pages