Template:Cyworld/doc
This is a documentation subpage for Template:Cyworld. It may contain usage information, categories and other content that is not part of the original template page. |
Template:Cyworld displays an external link to a page at the Cyworld website (cyworld.com). It is intended for use in the external links section of an article.
Usage
[edit]Unnamed parameters:
{{Cyworld | ID }}
{{Cyworld | ID | NAME }}
{{Cyworld | ID | NAME | alt_id= ALT ID }}
Named parameters:
{{Cyworld | id= ID }}
{{Cyworld | id= ID | name= NAME }}
{{Cyworld | id= ID | name= NAME | alt_id= ALT ID }}
Examples
[edit]Unnamed parameters
[edit]URLs:
Usage:
{{Cyworld | 47322239 | Sumi Jo (조수미) }}
{{Cyworld | 47322239 | Sumi Jo (조수미) | alt_id= alexesumi }}
Output:
- Sumi Jo (조수미) on Cyworld (in Korean)
- Sumi Jo (조수미) on Cyworld (alexesumi) (in Korean)
Named parameters
[edit]URLs:
Usage:
{{Cyworld | id= 38403394 | name= Kim Hyun Jung (김현정) }}
{{Cyworld | id= 38403394 | name= Kim Hyun Jung (김현정) | alt_id= kimzzung }}
Output:
- Kim Hyun Jung (김현정) on Cyworld (in Korean)
- Kim Hyun Jung (김현정) on Cyworld (kimzzung) (in Korean)
TemplateData
[edit]TemplateData for Cyworld
This template displays an external link to a page at the Cyworld website (cyworld.com). It is intended for use in the external links section of an article.
Parameter | Description | Type | Status | |
---|---|---|---|---|
id | id 1 | The "id" parameter (or unnamed parameter "1") should contain the ID portion of the URL. Example: 47322239 is the ID portion of http://cy.cyworld.com/home/47322239 or http://minihp.cyworld.com/pims/main/pims_main.asp?tid=47322239. | Number | required |
name | name 2 | The "name" parameter (or unnamed parameter "2") may be used to specify the link text. This parameter is optional; it defaults to the Wikipedia article name, without any disambiguation.
| String | optional |
alt_id | alt_id | The "alt_id" parameter should contain the ID portion of an alternative URL that starts with http://cyworld.com/ or http://www.cyworld.com/. Example: alexesumi is the ID portion of http://www.cyworld.com/alexesumi, which redirects to http://cy.cyworld.com/home/47322239. | String | optional |