Template:HR Known Issues/doc: Difference between revisions

From FamilySearch Wiki
(→‎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 15:29, 18 April 2011

Usage[edit source]

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[edit source]

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[edit source]

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.