Template:HR Known Issues/doc: Difference between revisions
m (Text replacement - " " to " ") |
(→Parameters: update parameter) |
||
(4 intermediate revisions by 3 users not shown) | |||
Line 3: | Line 3: | ||
== Usage == | == Usage == | ||
The '''{{tl|HR Known Issues}}''' template | 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>| layout = vertical</nowiki></br> | |||
<nowiki>}}</nowiki> | |||
| | | | ||
{{ HR Known Issues|layout=vertical}} | {{ HR Known Issues||layout=vertical}} | ||
|- | |- | ||
| | | | ||
<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>| float = right</nowiki></br> | |||
<nowiki>}}</nowiki> | |||
| | | | ||
{{ HR Known Issues||layout=vertical| float = right}} | {{ HR Known Issues||layout=vertical| float = right}} | ||
|} | |} | ||
Line 59: | Line 46: | ||
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 | ;float | ||
: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. | ||
<includeonly> | <includeonly> | ||
[[Category:Resource badge templates|{{PAGENAME}}]] | [[Category:Resource badge templates|{{PAGENAME}}]] | ||
</includeonly> | </includeonly> |
Revision as of 15:29, 18 April 2011
![]() |
This is a documentation subpage for Template:HR Known Issues (see that page for the template itself). It contains usage information, categories and other content that is not part of the original template page. |
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=}} |
| ||
{{HR Known Issues |
| ||
{{HR Known Issues |
|
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.