|
|
| Line 45: |
Line 45: |
| <nowiki>{{H-langs|en=United States Genealogy|es=Estados Unidos - Genealogía|pt=Estados Unidos}}</nowiki> | | <nowiki>{{H-langs|en=United States Genealogy|es=Estados Unidos - Genealogía|pt=Estados Unidos}}</nowiki> |
|
| |
|
| :a. From the above wikitext, delete:<br> | | :a. From the above wikitext, delete the 2 curly brackets, template name and the en= and name of the page. In this example would take out the following:<br> |
| <nowiki>{{H-langs|en=United States Genealogy</nowiki><br> | | <nowiki>{{H-langs|en=United States Genealogy</nowiki><br> |
| :b. Add 2 square brackets before the "es" which stands for the Spanish Wiki, like this:<br> | | :b. Also delete the curly brackets at the end of the link located after "Estados Unidos." |
| <nowiki>es=Estados Unidos - Genealogía</nowiki><br> | | :c. Add 2 square brackets before the "es" which stands for the Spanish Wiki, like this:<br> |
| :c. Now replace the pipe <nowiki>|</nowiki> with | | <nowiki>[[es=Estados Unidos - Genealogía</nowiki><br> |
| :c. Replace the curly brackets with 2 square brackets <nowiki>}}</nowiki> facing the same way <nowiki>]]</nowiki> | | :c. Now replace the pipe <nowiki>|</nowiki> with two square brackets facing the left. It will look like this:<br> |
| :d.
| | <nowiki>[[es=Estados Unidos - Genealogía]]</nowiki><br> |
| | :d. Because there are two links you need to create from this language template, go the end of the Spanish word and the square brackets, "Genealogía]]" and click on the "Enter" key to make the rest of the link go to the next line.<br> |
| | :e. Change the Portuguese link the same way you did the Spanish link by adding square brackets to the beginning and the end of the link, like this:<br> |
| | <nowiki>[[pt=Estados Unidos]]</nowiki><br> |
| | :f. The new completed wikitext code for the 2 language links should now look like this:<br> |
| | <nowiki>[[es=Estados Unidos - Genealogía]]</nowiki><br> |
| | <nowiki>[[pt=Estados Unidos]]</nowiki><br> |
|
| |
|
| [[es:Estados Unidos - Genealogía]]
| | '''Note:''' Each language has an abbreviation that will send the user to the correct language Wiki age.<br> |
| [[pt:Estados Unidos]]
| | Here is a key:<br> |
| Note: Each language has an abbreviation that will send the user to the correct language Wiki age. Here is a key: | | {| |
| en: English<br> | | *en English<br> |
| es: Spanish<br> | | *es: Spanish<br> |
| pt: Portuguese<br> | | *pt: Portuguese<br> |
| fr: French<br> | | *fr: French<br> |
| de: German<br> | | *de: German<br> |
| it: Italian<br> | | *it: Italian<br> |
| ru: Russian<br> | | *ru: Russian<br> |
| ja: Japanese<br> | | *ja: Japanese<br> |
| ko: Korean<br> | | *ko: Korean<br> |
| zh: Chinese<br> | | *zh: Chinese<br> |
| sv: Swedish<br> | | *sv: Swedish<br> |
| | |} |
| | |
| | ==== Step 4 - Preview and Save the page ==== |
| | 1. Now that the Interwiki templates for both Spanish and Portuguese are made, let's check to make sure it will appear on the page correctly.<br> |
| | 2. At the bottom of the page, you should see a "Show Preview" button. Click on it.<br> |
| | 3. Scroll up the page until you see below the Tools menu, the phrase, "In other languages"<br> |
| | 4. Directly below it you should see links labeled, Español and Português.<br> |
| | 5. If all the language links appear correctly, scroll back down the page and type, "Added Interwiki" link in the "Summary" field and click the blue button, "Save Changes." |
| | <br> |
|
| |
|
| ==== Step 3 ==== | | ==== Step 3 ==== |