Template:Resource badge/common: Difference between revisions
No edit summary |
m (Text replacement - " " to " ") |
||
(One intermediate revision by the same user not shown) | |||
Line 22: | Line 22: | ||
|- | |- | ||
| | | | ||
<nowiki>{{</nowiki>{{BASEPAGENAME}}<br> <nowiki>| link = | <nowiki>{{</nowiki>{{BASEPAGENAME}}<br> <nowiki>| link = https://www.familysearch.org </nowiki><br> <nowiki>| name = resource name</nowiki><br> <nowiki>}}</nowiki> | ||
| | | | ||
Line 29: | Line 29: | ||
|- | |- | ||
| | | | ||
<nowiki>{{</nowiki>{{BASEPAGENAME}}<br> <nowiki>| layout = vertical</nowiki><br> <nowiki>| link = | <nowiki>{{</nowiki>{{BASEPAGENAME}}<br> <nowiki>| layout = vertical</nowiki><br> <nowiki>| link = https://www.familysearch.org </nowiki><br> <nowiki>| name = resource name</nowiki><br> <nowiki>}}</nowiki> | ||
| | | | ||
Line 36: | Line 36: | ||
|- | |- | ||
| | | | ||
<nowiki>{{</nowiki>{{BASEPAGENAME}}<br> <nowiki>| layout = vertical</nowiki><br> <nowiki>| float = right</nowiki><br> <nowiki>| link = | <nowiki>{{</nowiki>{{BASEPAGENAME}}<br> <nowiki>| layout = vertical</nowiki><br> <nowiki>| float = right</nowiki><br> <nowiki>| link = https://www.familysearch.org </nowiki><br> <nowiki>| name = resource name</nowiki><br> <nowiki>}}</nowiki> | ||
| | | | ||
Line 49: | Line 49: | ||
These parameters are: | These parameters are: | ||
;link | ;link | ||
:This is the external link to the resource. ie. '''http://''' ''etc.'' | :This is the external link to the resource. ie. '''http://''' ''etc.'' | ||
;name | ;name | ||
:This is display text used for the link. If this parameter is not defined then the default text is ''no name defined''. | :This is display text used for the link. If this parameter is not defined then the default text is ''no name defined''. | ||
Latest revision as of 21:17, 30 October 2023
Usage
The {{Resource badge}} 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 | ||
---|---|---|---|
{{Resource badge}} |
| ||
{{Resource badge |
| ||
{{Resource badge |
| ||
{{Resource badge |
|
Parameters
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.