- Portals
- The Current Year
- ED in the News
- Admins
- Help ED Rebuild
- Archive
- ED Bookmarklet
- Donate Bitcoin
Contact an admin on Discord or EDF if you want an account. Also fuck bots.
Template:Colored link (internal): Difference between revisions
imported>TabbyGarf No edit summary |
imported>TabbyGarf No edit summary |
||
(18 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<includeonly>{{Linkless exists|1={{{1}}}|2= | <includeonly>{{Linkless exists|1={{{1}}}|2=[[{{{1}}}|<span style="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 ED page, dumbass.</span>}}</includeonly><noinclude> | ||
{{documentation}} | {{documentation}} | ||
[[Category:Link Templates]] | [[Category:Link Templates]] | ||
</noinclude> | </noinclude> |
Latest revision as of 18:11, 28 October 2021
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:
ERROR: The page MediaWiki:Existential crisis does not exist, please input an existing ED page, dumbass.
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.
The above documentation is transcluded from Template:Colored link (internal)/doc. (edit | history) Changes can be experimented in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |