Jump to content

Module:Korean transliteration notice/doc

From Wikipedia, the free encyclopedia

This is an old revision of this page, as edited by Nonabelian (talk | contribs) at 19:48, 24 July 2024 (Example). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

This module is for generating various Korean transliteration notice templates.

Automatically generates "variant" from the title template that invokes it (e.g., invoking from "Template Romanization" gives "Revised Romanization" as the variant).

All templates using this support a RR, MR, and Yale parameter for different Korean transliteration systems.

Usage

  • small, form, and including – unnecessary to use in templates as grabbed when passed in from talk pages.
  • id – the HTML id used in edit notices; "editnotice" is automatically appended.
  • image – name of the file to be used as an icon, without the File: prefix.
  • variant – defaults to the template name; the variant of Korean transliteration, which should be a Wikipedia article.
  • transliteration examples – gives transliteration examples in parentheses.
  • compare – comparison variants of Korean transliteration.
  • text – custom text, set only if required to be different from the default.
  • doc – if set to no, will not load the automatic documentation at Template:Korean transliteration notice/documentation.
  • editnotice_cat – if set to yes, categorizes in the edit notice category.
  • nocat – disables documentation if set to true.
  • size – set the size of the image (example: size=60px).

Example

As of March 2024, Template Romanization uses the following parameters:

{{#invoke:Korean transliteration notice|main
| id     = rr
| image  = File:Flag of South Korea.svg
| transliteration_examples = ''Gim'', ''Seoul'', ''Han River''
| compare = [[McCune-Reischauer|MR]], [[Yale Romanization|Yale]]
}}

which produces: