Template:HR Known Issues/doc: Difference between revisions

From FamilySearch Wiki
m (Text replacement - " " to " ")
(→‎Example: add |no message= example)
(6 intermediate revisions by 4 users not shown)
Line 3: Line 3:
== Usage  ==
== Usage  ==


The '''{{tl|HR Known Issues}}''' template alerts users to "Known Issues" with a FamilySearch Historical Records Collection and provides a link to the "Known Issues" page for that collection.
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|no message=<nowiki>}}</nowiki>  
|  
|  
{{ HR Known Issues|no message=}}  
{{ HR Known Issues|no message=}}  
|-
|-
|  
|  
<nowiki>{{</nowiki>HR Known Issues<br> <nowiki>| layout = vertical</nowiki><br> <nowiki>}}</nowiki>  
<nowiki>{{</nowiki>HR Known Issues</br>
 
<nowiki>| link = http://www.familysearch.org </nowiki></br>
<nowiki>| name = resource name</nowiki></br>
<nowiki>}}</nowiki>  
|  
|  
{{ HR Known Issues|layout=vertical}}  
{{ HR Known Issues||link=http://www.familysearch.org|name=resource name}}  
 
|-
|-
|  
|  
<nowiki>{{</nowiki>HR Known Issues<br> <nowiki>| layout = vertical</nowiki><br> <nowiki>| float = right</nowiki><br> <nowiki>}}</nowiki>  
<nowiki>{{</nowiki>HR Known Issues</br>
 
<nowiki>| layout = vertical</nowiki></br>
<nowiki>| link = http://www.familysearch.org </nowiki></br>
<nowiki>| name = resource name</nowiki></br>
<nowiki>}}</nowiki>  
|  
|  
{{ HR Known Issues||layout=vertical| float = right}}  
{{ HR Known Issues||layout=vertical|link=http://www.familysearch.org|name=resource name}}  
 
|-
|-
|  
|  
<nowiki>{{</nowiki>HR Known Issues<br> <nowiki>| layout = vertical</nowiki><br> <nowiki>| float = right</nowiki><br><nowiki>| no message = </nowiki><br><nowiki>}}</nowiki>  
<nowiki>{{</nowiki>HR Known Issues</br>
 
<nowiki>| layout = vertical</nowiki></br>
<nowiki>| float = right</nowiki></br>
<nowiki>| link = http://www.familysearch.org </nowiki></br>
<nowiki>| name = resource name</nowiki></br>
<nowiki>}}</nowiki>  
|  
|  
{{HR Known Issues
{{ HR Known Issues||layout=vertical| float = right|link=http://www.familysearch.org|name=resource name}}  
|layout=vertical
|no message=  
|float=right}}  
 
|}
|}


Line 59: Line 58:
These parameters are:  
These parameters are:  


;layout
;link&nbsp;
:This can be either horizontal or vertical (default horizontal) and refers to the shape of the badge.  
:This is the external link to the resource. ie. '''http://''' ''etc.''
;float 
;name&nbsp;
:This can be either left or right. The default is right for layout=horizontal or left for layout=vertical.
:This is display text used for the link. If this parameter is not defined then the default text is ''no name defined''.
 
== Also See ==
 
*{{tl|HR Known Issues-page}}


<includeonly>
<includeonly>
[[Category:Resource badge templates|{{PAGENAME}}]]
[[Category:Resource badge templates|{{PAGENAME}}]]
</includeonly>
</includeonly>

Revision as of 11:31, 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
| link = http://www.familysearch.org
| name = resource name
}}

Important.png Problems with this collection?
[name]

{{HR Known Issues
| layout = vertical
| link = http://www.familysearch.org
| name = resource name
}}

Problems with this collection?
[name]

{{HR Known Issues
| layout = vertical
| float = right
| link = http://www.familysearch.org
| name = resource name
}}

Problems with this collection?
[name]

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.