member
315
edits
Guninvalid (talk | contribs) (Created page with "This template took a slightly embarassing amount of time to make but it's pretty easy to explain: <nowiki>{{wl|Source text|Wikilink}}</nowiki> <nowiki>{{wl|Example}}</nowiki> Renders as: {{wl|Source text|Wikilink}} {{wl|Example}} with (on wikipedia) linking to wikipedia:Wikilink in the first case, and wikipedia:Example in the second case. ==How it works (the headache inducing code== The exact code under the hood is actually pretty simple but it's still a mes...") |
Guninvalid (talk | contribs) (documentation top/bottom) |
||
| Line 1: | Line 1: | ||
{{Documentation top}} | |||
This template took a slightly embarassing amount of time to make but it's pretty easy to explain: | This template took a slightly embarassing amount of time to make but it's pretty easy to explain: | ||
| Line 26: | Line 28: | ||
Finally, we use <nowiki>}}</nowiki> to close out the if block, <nowiki>]]</nowiki> to close out the link, <nowiki>)</nowiki> to close out the visible parentheses, <nowiki></small></nowiki> to close out the small text block, and <nowiki></includeonly></nowiki> to indicate the end of the relevant section. | Finally, we use <nowiki>}}</nowiki> to close out the if block, <nowiki>]]</nowiki> to close out the link, <nowiki>)</nowiki> to close out the visible parentheses, <nowiki></small></nowiki> to close out the small text block, and <nowiki></includeonly></nowiki> to indicate the end of the relevant section. | ||
{{ | {{documentation bottom}} | ||