Template:Online course badge: Difference between revisions

From FamilySearch Wiki
(add &cid=wiki-course)
(edit link)
 
Line 7: Line 7:
| id      = [[Image:Hands on keyboard.png|75px|link=https://www.familysearch.org/learningcenter]]
| id      = [[Image:Hands on keyboard.png|75px|link=https://www.familysearch.org/learningcenter]]
| id-c    = Lavender
| id-c    = Lavender
| info    = '''Genealogy courses:''' Learn how to research from an expert in [{{{link|{{{course link|https://www.familysearch.org/learningcenter/results.html?cid=wiki-course}}}}}}&cid=wiki-course {{{name|{{{course name|''course name goes here''}}}}}}].
| info    = '''Genealogy courses:''' Learn how to research from an expert in [{{{link|{{{course link|https://www.familysearch.org/learningcenter/results.html?cid=wiki-course}}}}}}?&cid=wiki-course {{{name|{{{course name|''course name goes here''}}}}}}].
| info-c  = Lavender
| info-c  = Lavender
}}<noinclude>
}}<noinclude>
{{documentation|Template:Resource badge/common}}
{{documentation|Template:Resource badge/common}}
</noinclude>
</noinclude>

Latest revision as of 12:07, 28 January 2012

Hands on keyboard.png Genealogy courses: Learn how to research from an expert in course name goes here.
[view] [edit] [history] [purge] Documentation icon Template documentation

Usage[edit source]

The {{Online course 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

{{Online course badge}}

Hands on keyboard.png Genealogy courses: Learn how to research from an expert in course name goes here.


{{Online course badge
| link = https://www.familysearch.org
| name = resource name
}}

Hands on keyboard.png Genealogy courses: Learn how to research from an expert in resource name.


{{Online course badge
| layout = vertical
| link = https://www.familysearch.org
| name = resource name
}}

Genealogy courses: Learn how to research from an expert in resource name.


{{Online course badge
| layout = vertical
| float = right
| link = https://www.familysearch.org
| name = resource name
}}

Genealogy courses: Learn how to research from an expert in resource name.


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.