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ű
ű
Ŵ
ŵ
Ý
ý
Ŷ
ŷ
Ÿ
ÿ
Ȳ
ȳ
Ź
ź
Ž
ž
Ż
ż
Æ
æ
Ǣ
ǣ
Ø
ø
Œ
œ
ß
Ð
ð
Þ
þ
Ə
ə
Formatering
Lenker
Overskrifter
Lister
Filer
Referanser
Diskusjon
Beskrivelse
Hva du skriver
Hva du får
Kursiv
''Kursiv tekst''
Kursiv tekst
Fet
'''Fet tekst'''
Fet tekst
Fet & kursiv
'''''Fet & kursiv tekst'''''
Fet & kursiv tekst
{{Dokumentasjonsunderside}} <!-- LEGG TIL KATEGORIER OG INTERWIKIER PÅ BUNNEN AV DENNE SIDEN --> == Formål == There used to be [http://en.wikipedia.org/w/index.php?title=Template:Zh-all&oldid=308206352 a large number] of separate Chinese/romanization support templates to use, depending on what you wanted to display; for example, {{tl|zh-stp}} could display simplified and traditional characters and Hanyu Pinyin, {{tl|zh-cpwl}} could display general Han characters, pinyin and Wade-Giles, and literal translations, etc. This template was created to combine all those into one template with all the functionality. It can display (and link to) general, simplified, or traditional Han characters; literal translation; Zhuyin (Bopomofo); and the Hanyu Pinyin, Tongyong Pinyin, Wade-Giles, Jyutping, Cantonese Yale, and Pe̍h-ōe-jī romanizations. ==Bruk== ;Parametre For å bruke denne malen, start med {{tlx|zh}} og legg til passende parameter, sammen med hva du ønsker skal vises. Malen vil vise alt, og kun de parametrene du oppgir. De følgende parametre støttes: {|class="wikitable" |- ! Parameter !! Beskrivelse !! Eksempel |- | {{para|c}} || [[kinesisk]] || {{tlx|zh|c{{=}}中国}}<br/>{{zh|c=中国}} |- | {{para|s}} || [[forenklet kinesisk]]<ref name="same">If {{para|s}} and {{para|t}} are both given and are the same (i.e., if the simplified and traditional characters are the same), instead of showing both the template will just show "[[Chinese language|Chinese]]: <code><nowiki>{{{s}}}</nowiki></code>"</ref> || {{tlx|zh|s{{=}}中国}}<br/>{{zh|s=中国}} |- | {{para|t}} || [[tradisjonell kinesisk]]<ref name="same"/> || {{tlx|zh|t{{=}}中國}}<br/>{{zh|t=中國}} |- | {{para|p}} or {{para|hp}} || [[Hanyu pinyin|pinyin]]<ref>This will display as "Hanyu Pinyin", instead of just "pinyin", if Tongyong Pinyin is also included in the template; this way the two types of pinyin contrast and neither is treated as a "default".</ref> || {{tlx|zh|p{{=}}zhōngguó}}<br/>{{zh|p=zhōngguó}} |- | {{para|tp}} || [[Tongyong Pinyin]] || {{tlx|zh|tp{{=}}Jhongguó}}<br/>{{zh|tp=Jhongguó}} |- | {{para|w}} || [[Wade-Giles]] || {{tlx|zh|w{{=}}Chung¹kuo²}}<br/>{{zh|w=Chung¹kuo²}} |- | {{para|j}} || [[Jyutping]] || {{tlx|zh|j{{=}}Gwong²zau¹}}<br/>{{zh|j=Gwong²zau¹}} |- | {{para|cy}} || [[Yale romanization#Cantonese|Yale]] || {{tlx|zh|cy{{=}}Gwóngjàu}}<br/>{{zh|cy=Gwóngjàu}} |- | {{para|poj}} || [[Pe̍h-ōe-jī]] || {{tlx|zh|poj{{=}}Tâi-tiong-kōan}}<br/>{{zh|poj=Tâi-tiong-kōan}} |- | {{para|zhu}} || [[Zhuyin Fuhao]] || {{tlx|zh|zhu{{=}}ㄊㄠˊ ㄩㄢˊ ㄒㄧㄢˋ}}<br/>{{zh|zhu=ㄊㄠˊ ㄩㄢˊ ㄒㄧㄢˋ}} |- | {{para|l}} || literal meaning || {{tlx|zh|l{{=}}Middle Kingdom}}<br/>{{zh|l=Middle Kingdom}} |- |} <references/> ;Ordering The template can be given more than one value (for example, on the article [http://en.wikipedia.org/w/index.php?title=China&oldid=314754415 China], it has '''s''', '''t''', '''hp''', '''tp''', and '''w'''. By default, when multiple parameters are given they will be shown in the same order as the above table: first Chinese characters (simplified, then traditional), then romanizations (starting with Hanyu and Tongyong Pinyin). For some articles, however, it is more appropriate to display traditional characters before simplified, and Tongyong before Hanyu—this is the case with articles relating to Taiwan, for instance. To do this, add {{para|first|t}} anywhere in the template, and the traditional and Tongyong will be shown first. For example: :{{tlx |zh | t{{=}}中國 | s{{=}}中国 | hp{{=}}Zhōngguó | tp{{=}}Jhongguó}} :{{zh|t=中國|s=中国|hp=Zhōngguó|tp=Jhongguó}} :{{tlx |zh | t{{=}}中國 | s{{=}}中国 | hp{{=}}Zhōngguó | tp{{=}}Jhongguó | first{{=}}t}} :{{zh|t=中國|s=中国|hp=Zhōngguó|tp=Jhongguó|first=t}} In the future the template may be updated to allow {{para|first|j}}, putting Jyutping before pinyin (for use in Cantonese-related articles). This functionality has not been written yet, and would not be without first having a project-wide discussion to see if it's appropriate to choose Jyutping (or any other romanization) as the "default" for Cantonese. ;Other functionality Adding {{para|links|no}} anywhere in the template will suppress links. This is for preventing [[WP:overlinking|overlinking]] in an article or section where the template is used repeatedly. :{{tlx |zh | t{{=}}中國 | s{{=}}中国 | hp{{=}}Zhōngguó | tp{{=}}Jhongguó | links{{=}}no}} :{{zh | t=中國 | s=中国 | hp=Zhōngguó | tp=Jhongguó | links=no}} ==Default ordering== To put traditional characters before simplified, one option is to add {{para|first|t}} to every instance of the template within an article. In an article that calls the template many times, though, this may be tedious, and usually an article should have consistent ordering throughout anyway (for example, articles about Hong Kong topics should almost always have traditional characters first). A default ordering can be specified for an entire article by creating a subpage of this template with the name of that article (for instance, [[Template:zh/format/Taiwan]] sets the default ordering for the article [[Taiwan]]); the subpage should include a single character, <code>t</code> to set traditional-first ordering or <code>s</code> to set simplified-first ordering. You can do this by entering the name of the article you want to set in the box below (replacing <code>YOUR ARTICLE TITLE</code>) and following the instructions. <inputbox> type=create editintro=Template:Zh/editintro preload=Template:zh/preload default=Template:zh/format/YOUR ARTICLE TITLE buttonlabel=Create default for article bgcolor=clear width=50 </inputbox> After doing this, be sure to add either {{tlx|zh/notice|t}} or {{tlx|zh/notice|s}} to the article's talk page, to inform other editors that you have set a default and to let them know where the default setting is located. == Eksempler == ==Se også== *{{tlx|zh-full}} another version of this template, giving the user greater control over the order in which elements are displayed and how they are displayed *{{tlx|CJKV}}, similar template, but with Japanese/Korean/Vietnamese functionality <includeonly> <!-- KATEGORIER OG INTERWIKIER UNDER DENNE LINJEN --> [[Kategori:Språkmaler]] [[de:Vorlage:Zh]] [[en:template:Zh]] [[es:Plantilla:Zh]] [[fr:Modèle:Chinois]] [[ja:Template:Zh2]] [[ko:틀:Zh]] [[tr:Şablon:Çince]] [[vi:Bản mẫu:Hgcl]] [[qu:Plantilla:Han simipi]] </includeonly>
Redigeringsforklaring:
Merk at alle bidrag til Wikisida.no anses som frigitt under Creative Commons Navngivelse-DelPåSammeVilkår (se
Wikisida.no:Opphavsrett
for detaljer). Om du ikke vil at ditt materiale skal kunne redigeres og distribueres fritt må du ikke lagre det her.
Du lover oss også at du har skrevet teksten selv, eller kopiert den fra en kilde i offentlig eie eller en annen fri ressurs.
Ikke lagre opphavsrettsbeskyttet materiale uten tillatelse!
Avbryt
Redigeringshjelp
(åpnes i et nytt vindu)
Forhåndsvis en side som bruker denne malen
Kategori:Sider hvor ekspansjonsdybden er overskredet
Navigasjonsmeny
Personlige verktøy
Ikke logget inn
Brukerdiskusjon
Bidrag
Opprett konto
Logg inn
Navnerom
Mal
Diskusjon
norsk bokmål
Visninger
Les
Rediger kilde
Vis historikk
Mer
Navigasjon
Forside
Siste endringer
Tilfeldig side
Hjelp til MediaWiki
Verktøy
Lenker hit
Relaterte endringer
Spesialsider
Sideinformasjon
Søk etter sider som inneholder