Difference between revisions of "Template:wbl/doc"

From WikiCorporates
Jump to navigation Jump to search
Line 3: Line 3:
 
The link is passed as the 1st parameter, and the visible text as the 2nd:
 
The link is passed as the 1st parameter, and the visible text as the 2nd:
 
* <tt><nowiki>{{wbl|http://url/to/archived/page|Website}}</nowiki></tt>, giving: {{wbl|http://url/to/archived/page|Website}}
 
* <tt><nowiki>{{wbl|http://url/to/archived/page|Website}}</nowiki></tt>, giving: {{wbl|http://url/to/archived/page|Website}}
 +
If a 2nd parameter is not passed, the default "Website.arch" is used:
 +
* <tt><nowiki>{{wbl|http://url/to/archived/page}}</nowiki></tt>, giving: {{wbl|http://url/to/archived/page}}
  
 
<includeonly>[[Category:WikiPolitiks templates]]</includeonly>
 
<includeonly>[[Category:WikiPolitiks templates]]</includeonly>

Revision as of 15:26, 2 February 2020

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|Website}}, giving: WebsiteArchive-org-sm.svg

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

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