Difference between revisions of "Template:wbl"

From WikiCorporates
Jump to navigation Jump to search
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
−
<span class="plainlinks">[{{{1}}} {{{2}}}]</span><sup>{{img|Wayback-Machine-sm.svg|9|10|ml=0|float=none}}</sup><noinclude>{{doc2}}</noinclude>
+
<span class="plainlinks">[{{{1}}} {{#if:{{{2|}}}|{{{2}}}|Website}}]</span><sup>[[File:Archive-org-sm.svg|9x10px]]</sup><noinclude>{{doc2}}</noinclude>

Latest revision as of 12:27, 1 March 2020

[{{{1}}} Website]Archive-org-sm.svg

[edit] Documentation

A small template for in-line linking to pages archived at the Wayback Machine.

The link is passed as the 1st parameter, and the visible text as the 2nd:

  • {{wbl|http://url/to/archived/page|Reports}}, giving: ReportsArchive-org-sm.svg

If a 2nd parameter is not passed, the default "Website" is used:

  • {{wbl|http://url/to/archived/page}}, giving: WebsiteArchive-org-sm.svg