Template:HR Known Issues/doc: Difference between revisions
(→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 | <nowiki>{{</nowiki>HR Known Issues|no message=<nowiki>}}</nowiki> | ||
| | | | ||
{{ HR Known Issues|no message=}} | {{ HR Known Issues|no message=}} | ||
|- | |- | ||
| | | | ||
<nowiki>{{</nowiki>HR Known Issues< | <nowiki>{{</nowiki>HR Known Issues<br> <nowiki>| layout = vertical</nowiki><br> <nowiki>}}</nowiki> | ||
<nowiki>| layout = vertical</nowiki>< | |||
<nowiki>}}</nowiki> | |||
| | | | ||
{{ HR Known Issues | {{ HR Known Issues|layout=vertical}} | ||
|- | |- | ||
| | | | ||
<nowiki>{{</nowiki>HR Known Issues< | <nowiki>{{</nowiki>HR Known Issues<br> <nowiki>| layout = vertical</nowiki><br> <nowiki>| float = right</nowiki><br> <nowiki>}}</nowiki> | ||
<nowiki>| layout = vertical</nowiki>< | |||
<nowiki>| float = right</nowiki>< | |||
<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 | ;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. | ||
Revision as of 14:33, 27 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 |
| ||
{{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.