Template:Resource badge/common: Difference between revisions

From FamilySearch Wiki
(change WhatLinksHere link to all namespace)
m (→‎Usage: copyedit)
Line 5: Line 5:
The '''{{tl|{{BASEPAGENAME}}}}''' template has been created as a way of high lighting resources available for the locality where the template is placed.  
The '''{{tl|{{BASEPAGENAME}}}}''' template has been created as a way of high lighting resources available for the locality where the template is placed.  


* [https://wiki.familysearch.org/en/index.php?title=Special:WhatLinksHere&target={{#replace:{{FULLPAGENAME}}| |+}} Pages that use this badge]
* [https://wiki.familysearch.org/en/index.php?title=Special:WhatLinksHere&target={{#replace:{{FULLPAGENAME}}| |+}} Pages that use/refer to this badge]


=== Example  ===
=== Example  ===

Revision as of 01:27, 8 March 2011


Usage[edit source]

The {{Resource badge}} template has been created as a way of high lighting resources available for the locality where the template is placed.

Example[edit source]

You type You get

{{Resource badge}}

id info

{{Resource badge
| link = http://www.familysearch.org
| name = resource name
}}

id info

{{Resource badge
| layout = vertical
| link = http://www.familysearch.org
| name = resource name
}}

info

Parameters[edit source]

There are two parameters that are used to create the specific link to the resource.

These parameters are:

link 
This is the external link to the resource. ie. http:// etc.
name 
This is display text used for the link. If this parameter is not defined then the default text is no name defined.