Changes
Jump to navigation
Jump to search
m
Template:M1YearInTopic (no calendar)/link (view source)
Revision as of 19:59, 10 January 2018
, 6 years agoProtected "Template:M1YearInTopic (no calendar)/link": semi-protecting highly-visible templates in response to recent template-space vandalism ([Edit=Require autoconfirmed or confirmed access] (indefinite) [Move=Require autoconfirmed or...
{{#ifeq:{{{1}}}|{{#invoke:string|replace|{{{1}}}|%s*AD%s*||plain=false}}
|{{#ifexist:{{{1}}}
|* [[:{{#invoke:redirect|main|{{{1}}}}}|{{{2}}}]]
|{{#ifexist:{{{3}}}|* [[:{{#invoke:redirect|main|{{{3}}}}}|{{{2}}}]] }}
}}
|{{#ifexist:{{{1}}}
|* [[:{{#invoke:redirect|main|{{{1}}}}}|{{{2}}}]]
|{{#ifexist:{{#invoke:string|replace|{{{1}}}|%s*AD%s*||plain=false}}
|* [[:{{#invoke:redirect|main|{{#invoke:string|replace|{{{1}}}|%s*AD%s*||plain=false}}}}|{{{2}}}]]
|{{#ifexist:{{{3}}}|* [[:{{#invoke:redirect|main|{{{3}}}}}|{{{2}}}]] }}
}}
}}
}}<noinclude>
{{documentation|content=This subtemplate is used by [[Template:M1YearInTopic (no calendar)]] to avoid generating red links and redirect links.}}
</noinclude>
|{{#ifexist:{{{1}}}
|* [[:{{#invoke:redirect|main|{{{1}}}}}|{{{2}}}]]
|{{#ifexist:{{{3}}}|* [[:{{#invoke:redirect|main|{{{3}}}}}|{{{2}}}]] }}
}}
|{{#ifexist:{{{1}}}
|* [[:{{#invoke:redirect|main|{{{1}}}}}|{{{2}}}]]
|{{#ifexist:{{#invoke:string|replace|{{{1}}}|%s*AD%s*||plain=false}}
|* [[:{{#invoke:redirect|main|{{#invoke:string|replace|{{{1}}}|%s*AD%s*||plain=false}}}}|{{{2}}}]]
|{{#ifexist:{{{3}}}|* [[:{{#invoke:redirect|main|{{{3}}}}}|{{{2}}}]] }}
}}
}}
}}<noinclude>
{{documentation|content=This subtemplate is used by [[Template:M1YearInTopic (no calendar)]] to avoid generating red links and redirect links.}}
</noinclude>