Jump to content

Template:Cyworld/doc

From Wikipedia, the free encyclopedia

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
http://cy.cyworld.com/home/47322239
Redirect: http://www.cyworld.com/alexesumi
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
http://cy.cyworld.com/home/38403394
Redirect: http://www.cyworld.com/kimzzung
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]
This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for Template:Cyworld in articles based on its TemplateData.

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.

Template parameters

ParameterDescriptionTypeStatus
IDid 1

The ID number in the URL, such as 47322239 in http://cy.cyworld.com/home/47322239 or http://minihp.cyworld.com/pims/main/pims_main.asp?tid=47322239.

Numberrequired
Namename 2

The link text. This parameter is optional; it defaults to the Wikipedia article name, without any disambiguation.

Default
{{PAGENAMEBASE}}
Stringoptional
alt_idalt_id

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.

Stringoptional