Registration has been disabled and the moderation extension has been turned off.

Contact an admin on Discord or EDF if you want an account. Also fuck bots.

Template:Colored link (internal): Difference between revisions

From Encyclopedia Dramatica
Jump to navigation Jump to search
imported>TabbyGarf
No edit summary
imported>TabbyGarf
No edit summary
Line 1: Line 1:
<includeonly>{{Linkless exists|1={{{1}}}|2='''[[{{{1}}}|<span style="text-decoration:underline; color:{{{2|blue}}};">{{{3|{{{1}}}}}}</span>]]'''|3=<span style="color:red;background-color:#fdd;"><u>'''ERROR</u>:''' The page '''{{{1}}}''' does <u>not</u> exist, please input an existing page, dumbass.</span>}}</includeonly><noinclude>
<includeonly>{{Linkless exists|1={{{1}}}|2='''[[{{{1}}}|<span style="text-decoration:underline; color:{{{2|blue}}};">{{{3|{{{1}}}}}}</span>]]'''|3={{blink|<span style="color:red;background-color:#fdd;"><u>'''ERROR</u>:''' The page '''{{{1}}}''' does <u>not</u> exist, please input an existing page, dumbass.</span>}}}}</includeonly><noinclude>
{{documentation}}
{{documentation}}
[[Category:Link Templates]]
[[Category:Link Templates]]
</noinclude>
</noinclude>

Revision as of 18:03, 28 October 2021

[view] [edit] [history] [purge] Documentation icon Template documentation

The colored link template is a way to make colored links for template or user page making.

Template Usage

# input
1 internal link
2 color
3 alt text (optional)

{{Colored link (internal)|Template:Colored link (internal)|hotpink}} and
{{Cli|Template:Colored link (internal)|hotpink|Colored link (internal) (template)}} returns Template:Colored link (internal) and Colored link (internal) (template).

Known aliases are {{Colored link}} and {{Cli}}
Entering a non existing link would cause this:


Although entering an incorrect link would usually request it on the Wanted Pages list, the failsafe makes sure it doesnt using a linkless #ifexist system.
Interwiki links such as T:Cli (templates) and U:TabbyGarf (user pages) will not work as an internal link and return the error message.