Template:Adoption SDGenWebEdit This Page
From FamilySearch Wiki
Contents |
Usage
The {{Adoption SDGenWeb}} template has been created as an adoption sign to be used in the Adopt-A-Wiki Page Program.
When this template is added to a page, the page will be automatically added to Category:Adopted pages.
Example
| You type | You get | ||||||||
|---|---|---|---|---|---|---|---|---|---|
|
{{Adoption SDGenWeb}} |
| ||||||||
|
{{Adoption SDGenWeb|small=true}} |
| ||||||||
|
{{Adoption SDGenWeb|Add '''custom''' text}} |
| ||||||||
| Example of use on a user page | |||||||||
|
{{Adoption SDGenWeb}} |
| ||||||||
|
|
If the template is added to a user page then it will display a userbox and add the user to the Category:Page Adopters. |
Adding sign inside an infobox
It is possible to add the adoption sign inside an infobox. To do so add the following code inside the infobox template on the page.
| adoption_sign = Adoption SDGenWeb
Parameters
There are two parameters that are used to create the custom look of the adoption sign. Edit this one template to make changes in the sign wherever it has been added in the wiki.
These parameters are:
- 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 SDGenWeb|add custom text inside the template}}
- custom_text
- (optional) Add addtional custom text to the adoption sign. Wiki markup allowed.
- This page was last modified on 1 March 2012, at 15:03.
- This page has been accessed 78 times.
New to the Research Wiki?
In the FamilySearch Research Wiki, you can learn how to do genealogical research or share your knowledge with others.
Learn More