Template:Forum badge: Difference between revisions

From FamilySearch Wiki
(add {{{float}}} parameter)
(update URL and add "campaign ID")
Line 5: Line 5:
| border-c = #999
| border-c = #999
| border-s = 1
| border-s = 1
| id      = [[Image:FamilySearch tree detail.png|75px|link=http://forums.familysearch.org]]
| id      = [[Image:FamilySearch tree detail.png|75px|link=https://www.familysearch.org/learn/forums/en/]]
| id-c    = Honeydew
| id-c    = Honeydew
| info    = '''Got a research question?''' Come visit the [{{{link|{{{forum link|http://forums.familysearch.org}}}}}} {{{name|{{{forum name|''no forum name defined''}}}}}}] to receive personal guidance on researching your family.
| info    = '''Got a research question?''' Come visit the [{{{link|{{{forum link|https://www.familysearch.org/learn/forums/en/}}}}}}?cid=wiki-forum {{{name|{{{forum name|''no forum name defined''}}}}}}] to receive personal guidance on researching your family.
| info-c  = Honeydew
| info-c  = Honeydew
}}<noinclude>
}}<noinclude>
{{documentation|Template:Resource badge/common}}
{{documentation|Template:Resource badge/common}}
</noinclude>
</noinclude>

Revision as of 00:33, 2 September 2011

FamilySearch tree detail.png Got a research question? Come visit the no forum name defined to receive personal guidance on researching your family.
[view] [edit] [history] [purge] Documentation icon Template documentation

Usage[edit source]

The {{Forum 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

{{Forum badge}}

FamilySearch tree detail.png Got a research question? Come visit the no forum name defined to receive personal guidance on researching your family.


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

FamilySearch tree detail.png Got a research question? Come visit the resource name to receive personal guidance on researching your family.


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

Got a research question? Come visit the resource name to receive personal guidance on researching your family.


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

Got a research question? Come visit the resource name to receive personal guidance on researching your family.


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.