Jump to content

Template:Talkback and Template:Talkback/sandbox: Difference between pages

(Difference between pages)
Content deleted Content added
Osiris (talk | changes)
m Protected "Template:Talkback": protection doesn't seem to be sticking... ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite))
 
test update from enwiki
 
Line 1: Line 1:
<noinclude><!--
<!--


// Check for {{{1}}} parameter
// Check for {{{1}}} parameter


--></noinclude>{{{{{|safesubst:}}}#if:{{{1|<noinclude>Example</noinclude>}}}|<noinclude><!--then:
-->{{{{{|safesubst:}}}#if:{{{1|<noinclude>Example</noinclude>}}}|<!--then:


// Div, styling
// Div, styling


--></noinclude>{{{{{|safesubst:}}}umbox
-->{{umbox
| image = Nuvola apps edu languages.svg
| image = Nuvola apps edu languages.svg
| imagelink = <noinclude><!--
| imagelink = <!--
// Prefix the given page with User talk:, if no namespace given
// Prefix the given page with User talk:, if no namespace given
--> </noinclude>{{{{{|safesubst:}}}#ifeq:{{{{{|safesubst:}}}NAMESPACE:{{{1<noinclude>|Example</noinclude>}}}}}|{{{{{|safesubst:}}}ns:0}}|{{{{{|safesubst:}}}ns:3}}:}}{{{1<noinclude>|Example</noinclude>}}}<noinclude><!--
--> {{{{{|safesubst:}}}#ifeq:{{{{{|safesubst:}}}NAMESPACE:{{{1<noinclude>|Example</noinclude>}}}}}|{{{{{|safesubst:}}}ns:0}}|{{{{{|safesubst:}}}ns:3}}:}}
{{{1<noinclude>|Example</noinclude>}}}<!--
// Section link
// Section link
--> </noinclude>{{{{{|safesubst:}}}#if:{{{2|}}}|&#35;{{{2}}}}}|You have new messages
--> {{{{{|safesubst:}}}#if:{{{2|}}}|&#35;{{{2}}}}}|You have new messages
| text = '''Hello, {{{{{|safesubst:}}}#titleparts:{{{{{|safesubst:}}}PAGENAME}}|1}}. You have new messages at <noinclude><!--
| text = '''Hello, {{{{{|safesubst:}}}#titleparts:{{{{{|safesubst:}}}PAGENAME}}|1}}. You have new messages at <!--
// Prefix the given page with User talk:, if it has no namespace given
// Prefix the given page with User talk:, if it has no namespace given
--> </noinclude> [[{{{{{|safesubst:}}}#ifeq:{{{{{|safesubst:}}}NAMESPACE:{{{1<noinclude>|Example</noinclude>}}}}}|{{{{{|safesubst:}}}ns:0}}|{{{{{|safesubst:}}}ns:3}}:}}<noinclude><!--
--> [[{{{{{|safesubst:}}}#ifeq:{{{{{|safesubst:}}}NAMESPACE:{{{1<noinclude>|Example</noinclude>}}}}}|{{{{{|safesubst:}}}ns:0}}|{{{{{|safesubst:}}}ns:3}}:}}<!--
// Page link
// Page link
--> </noinclude>{{{1<noinclude>|Example</noinclude>}}}<noinclude><!--
--> {{{1<noinclude>|Example</noinclude>}}}<!--
// Section link
// Section link
--> </noinclude>{{{{{|safesubst:}}}#if:{{{2|}}}|&#35;{{{2}}}}}<noinclude><!--
--> {{{{{|safesubst:}}}#if:{{{2|}}}|&#35;{{{2}}}}}<!--
// Link text
// Link text
--> </noinclude>|{{{{{|safesubst:}}}#if:<noinclude><!--
--> |{{#if:<!--
// Evaluates to "NOT USERSPACE" if namespace is neither 0 nor 3
// Evaluates to "NOT USERSPACE" if namespace is neither 0 nor 3
--> </noinclude>{{{{{|safesubst:}}}#switch:{{{{{|safesubst:}}}NAMESPACE:{{{1<noinclude>|Example</noinclude>}}}}}<noinclude><!--
--> {{#switch:{{{{{|safesubst:}}}NAMESPACE:{{{1<noinclude>|Example</noinclude>}}}}}<!--
--> </noinclude>|{{{{{|safesubst:}}}ns:0}}|{{{{{|safesubst:}}}ns:3}}=<noinclude><!--silent--><!--
--> |{{{{{|safesubst:}}}ns:0}}|{{{{{|safesubst:}}}ns:3}}=<!--silent--><!--
--> </noinclude>|NOT USERSPACE}}<noinclude><!--
--> |NOT USERSPACE}}<!--
// Evaluates to "IS SUBPAGE" if the page is a subpage
// Evaluates to "IS SUBPAGE" if the page is a subpage
--> </noinclude>{{{{{|safesubst:}}}#ifeq:{{{{{|safesubst:}}}#titleparts:{{{1<noinclude>|Example</noinclude>}}}|1|2}}|<noinclude><!--
--> {{#ifeq:{{{{{|safesubst:}}}#titleparts:{{{1<noinclude>|Example</noinclude>}}}|1|2}}|<!--
--><!--empty--></noinclude>|<noinclude><!--silent--></noinclude>|IS SUBPAGE}}<noinclude><!--
--><!--empty-->|<!--silent-->|IS SUBPAGE}}<!--
// Display full page title if either NOT USERSPACE or IS SUBPAGE is true
// Display full page title if either NOT USERSPACE or IS SUBPAGE is true
--> </noinclude>|{{{{{|safesubst:}}}#ifeq:{{{{{|safesubst:}}}NAMESPACE:{{{1<noinclude>|Example</noinclude>}}}}}|{{{{{|safesubst:}}}ns:0}}|{{{{{|safesubst:}}}ns:3}}:}}<noinclude><!--
--> |{{{{{|safesubst:}}}#ifeq:{{{{{|safesubst:}}}NAMESPACE:{{{1<noinclude>|Example</noinclude>}}}}}|{{{{{|safesubst:}}}ns:0}}|{{{{{|safesubst:}}}ns:3}}:}}<!--
--> </noinclude>{{{1<noinclude>|Example</noinclude>}}}<noinclude><!--
--> {{{1<noinclude>|Example</noinclude>}}}<!--
// Display the PAGENAME of {{{1}}} (i.e. the user name) otherwise
// Display the PAGENAME of {{{1}}} (i.e. the user name) otherwise
--> </noinclude>|{{{{{|safesubst:}}}PAGENAME:{{{1<noinclude>|Example</noinclude>}}}}}'s talk page}}]].'''<br /><noinclude><!--
--> |{{{{{|safesubst:}}}PAGENAME:{{{1<noinclude>|Example</noinclude>}}}}}'s talk page}}]].'''<br /><!--


// Timestamp, notice
// Timestamp, notice


--></noinclude><span class="plainlinks" style="font-size: 88%; font-weight: normal;">{{{{{|safesubst:}}}#if:{{{ts|}}}|Message added {{{ts}}}.}} You can [{{fullurl:{{FULLPAGENAME}}|action=edit}} remove this notice] at any time{{{{{|safesubst:}}}#ifeq:{{{{{|safesubst:}}}issubst}}|yes
--><span class="plainlinks" style="font-size: 88%; font-weight: normal;">{{{{{|safesubst:}}}#if:{{{ts|}}}|Message added {{{ts}}}.}} You can [{{fullurl:{{FULLPAGENAME}}|action=edit}} remove this notice] at any time{{}}{{}}
-->}}<!--
||&nbsp;by removing the <nowiki>{{Talkback}} or {{Tb}}</nowiki> template}}.</span><noinclude><!--
--></noinclude>}}<noinclude><!--


// Display an error message if no parameter given
// Display an error message if no parameter given


--></noinclude>|<noinclude><!--else:
-->|<!--else:
--></noinclude><span class="error">ERROR: Please enter the ''username'' parameter when using the {{Tlx|Talkback}} template - thus {{Tlx|Talkback|<username>}}.</span>}}<noinclude>{{pp-template}}{{Documentation}}<!-- PLEASE ADD CATEGORIES AND INTERWIKIS TO THE /doc SUB-PAGE, THANKS --></noinclude>
--><span class="error">ERROR: Please enter the ''username'' parameter when using the {{|Talkback}} template.</span>}}<noinclude>{{Documentation}}<!-- PLEASE ADD CATEGORIES AND INTERWIKIS TO THE /doc SUB-PAGE, THANKS --></noinclude>