Template:Adoption sign/docEdit This Page

From FamilySearch Wiki

Contents

Purpose

The {{Adoption sign}} template has been created as a base template to create adoption signs to be used in the Adopt-A-Wiki Page Program. The template can be used directly in a page using the parameters explained below or if the adoption sign will be used more than once, to create a new template. For example {{Adpotion Society name}}.

New templates that are created using this base template will be automatically added to the Category:Adoption program templates. Common documentation for these derivative templates can be viewed/edited at Template:Adoption sign/society.

Usage

Create a new adoption sign by using the following code.

<includeonly>{{Adoption sign
| logo = 
| adopter = '''[]'''
| custom_text = {{{1|}}}
| small = {{{small|}}}
| demospace = {{{demospace|}}}
}}</includeonly>
<noinclude>
{{Documentation|Template:Adoption sign/society}}
</noinclude>

The sign can then be customised by using the two main parameters.

Parameters

There are two parameters that are used to create a custom adoption sign.

logo 
(optional) This is the filename of the image to be used as a logo inside the sign. If the parameter is not defined no logo is displayed and the text part of the sign will fill the complete width.
adopter 
This is the text (can include wikicode) that will be displayed within the sign. If this parameter is not defined then the default text is This page is available for adoption.


In addition, another optional parameter, allows for custom text to be added underneath the main part of the sign. Set this to use a custom parameter in the main adoption sign template, using the code

| custom_text = {{{1|}}}

Then on different pages, different custom text can be added as needed.

{{adoption sign|add custom text inside the template}}
custom_text 
(optional) Add addtional custom text to the adoption sign. Wiki markup allowed.

Examples

You type You get
{{Adoption sign}} 
Adopt-a-wiki page
This page is available for adoption
Adopt a page today
{{Adoption sign
|logo=FHAM.JPG
|adopter= The '''[http://familysearch.org/ 
Family History Association of Maine]''' and its members
}} 
Adopt-a-wiki page
FHAM.JPG This page adopted by:
The Family History Association of Maine and its members
who welcome you to contribute.
Adopt a page today
{{Adoption sign
|adopter= The '''[http://familysearch.org/ 
Family History Association of Maine]''' and its members
}} 
Adopt-a-wiki page
This page adopted by:
The Family History Association of Maine and its members
who welcome you to contribute.
Adopt a page today
{{Adoption sign
|logo=FHAM.JPG
|adopter= The '''[http://familysearch.org/ 
Family History Association of Maine]''' and its members
|custom_text =Add '''custom''' text
}} 
Adopt-a-wiki page
FHAM.JPG This page adopted by:
The Family History Association of Maine and its members
who welcome you to contribute.
Add custom text
Adopt a page today
Example of use on a user page
{{Adoption sign
|logo=FHAM.JPG
|adopter= The '''[http://familysearch.org/ 
Family History Association of Maine]''' and its members
}}
FHAM.JPG This user is a member of The Family History Association of Maine and its members, an organization that has adopted some pages in the wiki.


  • This page was last modified on 1 March 2012, at 14:35.
  • This page has been accessed 551 times.