Template:RetiredResourcePage: Difference between revisions

From Clicklaw Wikibooks
Jump to navigation Jump to search
New template for retired resources/wikibooks
 
No edit summary
 
(2 intermediate revisions by the same user not shown)
Line 2: Line 2:
<div class="plainlinks" style="border:1px solid #a2a9b1; background:#f8f9fa; padding:1em; margin:1em 0; overflow:auto;">
<div class="plainlinks" style="border:1px solid #a2a9b1; background:#f8f9fa; padding:1em; margin:1em 0; overflow:auto;">
{{#if:{{{image|}}}|
{{#if:{{{image|}}}|
[[File:{{{image}}}|frameless|right|140px|alt=Cover image for {{{guide|Tenant Survival Guide}}}|Cover image for {{{guide|Tenant Survival Guide}}}]]
[[File:{{{image}}}|frameless|right|140px|alt=Cover image for {{{retired_resource|this retired resource}}}|Cover image for {{{retired_resource|this retired resource}}}]]
}}
}}
'''This Clicklaw Wikibooks page has been retired.'''
'''This Clicklaw Wikibooks page has been retired.'''


This page was part of the former ''{{{guide|Tenant Survival Guide}}}'' on Clicklaw Wikibooks. {{{owner|TRAC}}} is no longer maintaining this Wikibooks version.
This page was part of the former ''{{{retired_resource|this resource}}}'' on Clicklaw Wikibooks. {{{owner|The content owner}}} is no longer maintaining this Wikibooks version.


Please use the current resource below:
Please use the current resource(s) below:


{{{links|* [{{{url|https://tenants.bc.ca/}}} {{{title|Current resource}}}]}}}
{{{links|* [{{{replacement_url|https://www.clicklaw.bc.ca/}}} {{{replacement_title|Current resource}}}]}}}
 
{{#if:{{{extra|}}}|
 
{{{extra}}}
}}


If you arrived here from a bookmark or a search engine result, please update your link.
If you arrived here from a bookmark or a search engine result, please update your link.
Line 21: Line 26:
Basic use:
Basic use:
{{RetiredResourcePage
{{RetiredResourcePage
|title=Current resource title
|retired_resource=Name of retired guide or title
|url=https://example.org/page
|owner=Name of content owner
|replacement_title=Current resource title
|replacement_url=https://example.org/page
}}
 
With optional image:
{{RetiredResourcePage
|retired_resource=Name of retired guide or title
|owner=Name of content owner
|image=Example_cover_image.jpg
|replacement_title=Current resource title
|replacement_url=https://example.org/page
}}
 
With extra explanatory text:
{{RetiredResourcePage
|retired_resource=Name of retired guide or title
|owner=Name of content owner
|replacement_title=Current resource title
|replacement_url=https://example.org/page
|extra=Optional explanatory note in wiki markup.
}}
}}


With optional cover image:
For more than one replacement link, use links= instead of replacement_title/replacement_url:
{{RetiredResourcePage
{{RetiredResourcePage
|guide=Tenant Survival Guide
|retired_resource=Name of retired guide or title
|owner=TRAC
|owner=Name of content owner
|image=Tenant_Survival_Guide_cover_image.jpg
|links=
|title=Current resource title
* [https://example.org/page1 First replacement]
|url=https://example.org/page
* [https://example.org/page2 Second replacement]
}}
}}


Optional parameters:
Optional parameters:
* guide=Guide title
* retired_resource=The title of the retired guide or publication
* owner=Content owner
* owner=The organization that owned or maintained it
* image=Wiki file name only, e.g. Tenant_Survival_Guide_cover_image.jpg
* image=Wiki file name only, e.g. Tenant_Survival_Guide_cover_image.jpg
* links=Freeform bulleted links block, if you want more than one link
* replacement_title=Replacement link text for a single-link page
* replacement_url=Replacement URL for a single-link page
* links=Freeform bulleted links block, for one or more custom links
* extra=Optional freeform explanatory text in wiki markup
</noinclude>
</noinclude>

Latest revision as of 19:51, 1 April 2026

Use this template to replace retired Wikibooks guide pages with a referral to the current resource.

Basic use:


With optional image:


With extra explanatory text:


For more than one replacement link, use links= instead of replacement_title/replacement_url:


Optional parameters:

  • retired_resource=The title of the retired guide or publication
  • owner=The organization that owned or maintained it
  • image=Wiki file name only, e.g. Tenant_Survival_Guide_cover_image.jpg
  • replacement_title=Replacement link text for a single-link page
  • replacement_url=Replacement URL for a single-link page
  • links=Freeform bulleted links block, for one or more custom links
  • extra=Optional freeform explanatory text in wiki markup