Difference between revisions of "Template:HR Known Issues/doc"

From FamilySearch Wiki
Jump to: navigation, search
(Example: update examples)
(Parameters: update parameter)
Line 46: Line 46:
 
These parameters are:  
 
These parameters are:  
  
;link 
+
;layout
:This is the external link to the resource. ie. '''http://''' ''etc.''
+
:This can be either horizontal or vertical (default horizontal) and refers to the shape of the badge.
;name 
+
;float 
:This is display text used for the link. If this parameter is not defined then the default text is ''no name defined''.
+
:This can be either left or right. The default is right for layout=horizontal or left for layout=vertical.
  
 
<includeonly>
 
<includeonly>
 
[[Category:Resource badge templates|{{PAGENAME}}]]
 
[[Category:Resource badge templates|{{PAGENAME}}]]
 
</includeonly>
 
</includeonly>

Revision as of 21:29, 18 April 2011

Usage

The {{HR Known Issues}} 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

{{HR Known Issues}}

{{HR Known Issues|no message=}}

Important.png Problems with this collection?

{{HR Known Issues
| layout = vertical
}}

{{HR Known Issues
| layout = vertical
| float = right
}}

Parameters

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

These parameters are:

layout
This can be either horizontal or vertical (default horizontal) and refers to the shape of the badge.
float 
This can be either left or right. The default is right for layout=horizontal or left for layout=vertical.