Template:Resource badge/common: Difference between revisions

From FamilySearch Wiki
m (Text replacement - "http://www.familysearch.org " to "https://www.familysearch.org ")
m (Text replacement - " " to " ")
 
Line 49: Line 49:
These parameters are:  
These parameters are:  


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



Latest revision as of 21:17, 30 October 2023


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 = https://www.familysearch.org
| name = resource name
}}

id info


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

info


{{Resource badge
| layout = vertical
| float = right
| link = https://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.