Difference between revisions of "Template:Resource badge/common"

From FamilySearch Wiki
Jump to: navigation, search
(Created page with '{{documentation subpage}} == Usage == The '''{{tl|{{BASEPAGENAME}}}}''' template has been created as a way of high lighting resources available for the locality where the tem…')
 
(copyedit text)
Line 32: Line 32:
  
 
;link 
 
;link 
:(optional) This is the external link to the resource.  
+
: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''.

Revision as of 21:13, 7 March 2011


Usage

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

Example

You type You get

{{Resource badge}}

id info

{{Resource badge|layout=vertical}}

info

Parameters

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.