Template:Dead link: Difference between revisions

From Open Rail Data Wiki
EvelynSnow (talk | contribs)
m Attempt to clean up template
EvelynSnow (talk | contribs)
m Parameters the wrong way around (my wikitext is getting rusty huh)
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly><sup class="noprint Inline-Template"><span style="white-space: nowrap;">&#91;<i>{{#if: {{{url|}}}|[https://web.archive.org/web/*/{{{url|}}} <span title="{{{title|}}}{{#if:{{{date|}}}|&nbsp;tagged {{{date}}}}}">dead link</span>]|[[Wikipedia:Link rot|<span title="{{{title|}}}{{#if:{{{date|}}}|&nbsp;Dead link tagged {{{date}}}}}">{{#if:{{{fix-attempted|}}}|permanent dead link|dead link}}</span>]]}}</i>&#93;</span></sup></includeonly>
<includeonly><sup class="noprint Inline-Template"><span style="white-space: nowrap;">&#91;<i><span>[[Template:Dead link|dead link]] as of {{{date|}}}</span></i>&#93;</span></sup></includeonly><noinclude>
<noinclude>
 
See https://en.wikipedia.org/w/index.php?title=Template:Dead_link
Very losely based on Wikipedia's, but since we've not got parsing extensions, there's only one parameter: date.
 
Remove a dead link tag if you find a correct new URL for a link, or if you're substituting with an archived (preferably on-wiki vs internet archive – you can upload files here if necessary) version.
 
Use in wikitext like so:
<nowiki>{{Dead link|date=2023-05-06}}</nowiki>
 
<sup class="noprint Inline-Template"><span style="white-space: nowrap;">&#91;<i><span>[[Template:Dead link|dead link]] as of 2023-05-06</span></i>&#93;</span></sup>
 
</noinclude>
</noinclude>

Latest revision as of 09:52, 8 June 2023


Very losely based on Wikipedia's, but since we've not got parsing extensions, there's only one parameter: date.

Remove a dead link tag if you find a correct new URL for a link, or if you're substituting with an archived (preferably on-wiki vs internet archive – you can upload files here if necessary) version.

Use in wikitext like so: {{Dead link|date=2023-05-06}}

[dead link as of 2023-05-06]