Template:Online course badge

From FamilySearch Wiki

(Difference between revisions)
(added "researching" to the variable to care for handwriting courses)
(add {{{float}}} parameter)
Line 1: Line 1:
 
{{resource badge
 
{{resource badge
 
| layout = {{{layout|horizontal}}}
 
| layout = {{{layout|horizontal}}}
 +
| float-h = {{{float|right}}}
 +
| float-v = {{{float|left}}}
 
| border-c = #999
 
| border-c = #999
 
| border-s = 1
 
| border-s = 1

Revision as of 23:40, 18 March 2011

Hands on keyboard.png Free online research courses: Find classes to help you get started with researching your family in no course name defined.
[view] [edit] [history] [purge] Documentation icon Template documentation

Usage

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

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 = http://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 = http://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 = http://www.familysearch.org
| name = resource name
}}

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

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.