Template:Online course badge: Difference between revisions

From FamilySearch Wiki
m (Updated the text to reflect the name of a course)
(fix URL)
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    = '''Free online research course:''' Learn from an expert in [{{{link|{{{course link|https://learning.familysearch.org/researchcourses}}}}}} {{{name|{{{course name|''researching your family in no course name defined''}}}}}}].
| info    = '''Free online research course:''' Learn from an expert in [{{{link|{{{course link|https://www.familysearch.org/learn/researchcourses}}}}}} {{{name|{{{course name|''researching your family in no course name defined''}}}}}}].
| info-c  = Lavender
| info-c  = Lavender
}}<noinclude>
}}<noinclude>
{{documentation|Template:Resource badge/common}}
{{documentation|Template:Resource badge/common}}
</noinclude>
</noinclude>

Revision as of 00:38, 23 August 2011

Hands on keyboard.png Free online research course: Learn from an expert in researching your family in no course name defined.
[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 Free online research course: Learn from an expert in researching your family in no course name defined.


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

Hands on keyboard.png Free online research course: Learn from an expert in resource name.


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

Free online research course: Learn from an expert in resource name.


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

Free online research course: Learn 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.