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

From FamilySearch Wiki
Jump to: navigation, search
(Parameters: update parameter)
(added 5th option)
Line 5: Line 5:
 
The '''{{tl|HR Known Issues}}''' template has been created as a way of high lighting resources available for the locality where the template is placed.  
 
The '''{{tl|HR Known Issues}}''' 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/refer to this badge]
+
*[https://wiki.familysearch.org/en/index.php?title=Special:WhatLinksHere&target={{#replace:{{FULLPAGENAME}}| |+}} Pages that use/refer to this badge]
  
 
=== Example  ===
 
=== Example  ===
Line 16: Line 16:
 
|  
 
|  
 
<nowiki>{{</nowiki>HR Known Issues<nowiki>}}</nowiki>  
 
<nowiki>{{</nowiki>HR Known Issues<nowiki>}}</nowiki>  
 +
 
|  
 
|  
 
{{ HR Known Issues}}  
 
{{ HR Known Issues}}  
 +
 
|-
 
|-
 
|  
 
|  
<nowiki>{{</nowiki>HR Known Issues|no message=<nowiki>}}</nowiki>  
+
<nowiki>{{</nowiki>HR Known Issues&#124;no message=<nowiki>}}</nowiki>  
 +
 
 
|  
 
|  
 
{{ HR Known Issues|no message=}}  
 
{{ HR Known Issues|no message=}}  
 +
 
|-
 
|-
 
|  
 
|  
<nowiki>{{</nowiki>HR Known Issues</br>
+
<nowiki>{{</nowiki>HR Known Issues<br> <nowiki>| layout = vertical</nowiki><br> <nowiki>}}</nowiki>  
<nowiki>| layout = vertical</nowiki></br>
+
 
<nowiki>}}</nowiki>  
 
 
|  
 
|  
{{ HR Known Issues||layout=vertical}}  
+
{{ HR Known Issues|layout=vertical}}  
 +
 
 
|-
 
|-
 
|  
 
|  
<nowiki>{{</nowiki>HR Known Issues</br>
+
<nowiki>{{</nowiki>HR Known Issues<br> <nowiki>| layout = vertical</nowiki><br> <nowiki>| float = right</nowiki><br> <nowiki>}}</nowiki>  
<nowiki>| layout = vertical</nowiki></br>
+
 
<nowiki>| float = right</nowiki></br>
 
<nowiki>}}</nowiki>  
 
 
|  
 
|  
 
{{ HR Known Issues||layout=vertical| float = right}}  
 
{{ HR Known Issues||layout=vertical| float = right}}  
 +
 +
|-
 +
|
 +
<nowiki>{{</nowiki>HR Known Issues<br> <nowiki>| layout = vertical</nowiki><br> <nowiki>| float = right</nowiki><br><nowiki>| no message = </nowiki><br><nowiki>}}</nowiki>
 +
 +
|
 +
{{HR Known Issues
 +
|layout=vertical
 +
|no message=
 +
|float=right}}
 +
 
|}
 
|}
  
Line 46: Line 59:
 
These parameters are:  
 
These parameters are:  
  
;layout
+
;layout  
:This can be either horizontal or vertical (default horizontal) and refers to the shape of the badge.
+
:This can be either horizontal or vertical (default horizontal) and refers to the shape of the badge.  
;float&nbsp;
+
;float&nbsp;  
 
:This can be either left or right. The default is right for layout=horizontal or left for layout=vertical.
 
:This can be either left or right. The default is right for layout=horizontal or left for layout=vertical.
  

Revision as of 20:33, 27 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
}}


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

Problems with this collection?


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.