Template:HR Known Issues/docEdit This Page

From FamilySearch Wiki

< Template:HR Known Issues(Difference between revisions)
(Example: add |no message= example)
(add also see)
 
(4 intermediate revisions by 3 users not shown)
Line 3: Line 3:
 
== Usage  ==
 
== Usage  ==
  
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 alerts users to "Known Issues" with a FamilySearch Historical Records Collection and provides a link to the "Known Issues" page for that collection.
  
* [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>| link = http://www.familysearch.org </nowiki></br>
+
 
<nowiki>| name = resource name</nowiki></br>
+
<nowiki>}}</nowiki>  
+
 
|  
 
|  
{{ HR Known Issues||link=http://www.familysearch.org|name=resource name}}  
+
{{ 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>| link = http://www.familysearch.org </nowiki></br>
+
<nowiki>| name = resource name</nowiki></br>
+
<nowiki>}}</nowiki>  
+
 
|  
 
|  
{{ HR Known Issues||layout=vertical|link=http://www.familysearch.org|name=resource name}}  
+
{{ HR Known Issues||layout=vertical| float = right}}  
 +
 
 
|-
 
|-
 
|  
 
|  
<nowiki>{{</nowiki>HR Known Issues</br>
+
<nowiki>{{</nowiki>HR Known Issues<br> <nowiki>| layout = vertical</nowiki><br> <nowiki>| float = right</nowiki><br><nowiki>| no message = </nowiki><br><nowiki>}}</nowiki>  
<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||layout=vertical| float = right|link=http://www.familysearch.org|name=resource name}}  
+
{{HR Known Issues
 +
|layout=vertical
 +
|no message=
 +
|float=right}}  
 +
 
 
|}
 
|}
  
Line 58: Line 59:
 
These parameters are:  
 
These parameters are:  
  
;link&nbsp;
+
;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&nbsp;
+
;float&nbsp;  
: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.
 +
 
 +
== Also See ==
 +
 
 +
*{{tl|HR Known Issues-page}}
  
 
<includeonly>
 
<includeonly>
 
[[Category:Resource badge templates|{{PAGENAME}}]]
 
[[Category:Resource badge templates|{{PAGENAME}}]]
 
</includeonly>
 
</includeonly>

Latest revision as of 05:26, 30 April 2012

Contents

Usage

The {{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.

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.

Also See


  • This page was last modified on 30 April 2012, at 05:26.
  • This page has been accessed 283 times.