Template:Resource badge/common: Difference between revisions
(copyedit text) |
(add example parameters) |
||
Line 20: | Line 20: | ||
|- | |- | ||
| | | | ||
<nowiki>{{</nowiki>{{BASEPAGENAME}}<nowiki>|layout=vertical}}</nowiki> | <nowiki>{{</nowiki>{{BASEPAGENAME}}</br> | ||
<nowiki>| layout = vertical</nowiki></br> | |||
<nowiki>| link = http://www.familysearch.org </nowiki></br> | |||
<nowiki>| name = resource name</nowiki></br> | |||
<nowiki>}}</nowiki> | |||
| | | | ||
{{ {{BASEPAGENAME}}||layout=vertical}} | {{ {{BASEPAGENAME}}||layout=vertical|link=http://www.familysearch.org|name=resource name}} | ||
|} | |} | ||
Revision as of 15:45, 7 March 2011
Usage[edit source]
The {{Resource badge}} 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 | ||
---|---|---|---|
{{Resource badge}} |
| ||
{{Resource badge |
|
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.