Difference between revisions of "Template:Talkback"

From M3P
Jump to navigation Jump to search
(addition of template for talkback functions. Icon image to follow)
 
(background and icon styles altered)
Line 7: Line 7:
// Div, styling
// Div, styling


--><div style="border: #4169E1 1px solid; margin: 2em 0 1em; padding: 0.5em 1em; font-weight: bold; vertical-align: middle;"><!--
--><div style="border: #000000 2px solid; margin: 2em 0 1em; border-radius: 4px; background-color: #f0f0f0; padding: 0.5em 1em; font-weight: bold; vertical-align: middle;"><!--


// Image
// Image


-->  [[File:M3PTalkbackIcon.svg|left|40px|link=<!--
-->  [[File:M3PTalkbackIcon256.png|left|36px|link=<!--
// Prefix the given page with User talk:, if no namespace given
// Prefix the given page with User talk:, if no namespace given
-->    {{#ifeq:{{NAMESPACE:{{{1<noinclude>|Example</noinclude>}}}}}|{{ns:0}}|{{ns:3}}:}}<!--
-->    {{#ifeq:{{NAMESPACE:{{{1<noinclude>|Example</noinclude>}}}}}|{{ns:0}}|{{ns:3}}:}}<!--

Revision as of 10:54, 2 March 2012

{{#if:Example|

You have new messages
Hello, {{#titleparts:Talkback|1}}. You have new messages at [[{{#ifeq:||User talk:}} Example {{#if:|#{{{2}}}}} |{{#if: {{#switch: ||User talk= |NOT USERSPACE}} {{#ifeq:{{#titleparts:Example|1|2}}| ||IS SUBPAGE}} |{{#ifeq:||User talk:}} Example |Example's talk page}}]].
{{#if:|Message added {{{ts}}}.}} You can remove this notice at any time by removing the {{Talkback}} or template.

|ERROR: Please enter the username parameter when using the {{Talkback}} template.}}{{#invoke:documentation|main|_content={{ {{#invoke:documentation|contentTitle}}}}}}