維基導遊:模板索引
MediaWiki軟件是用作運行維基導遊提供使用模板自動生成複雜HTML的功能。模板比手動輸入更快,並使整個站點的公共消息保持一致。在建立或修改之前應該討論新模板。
下面的列表顯示了當前可用的大多數模板,以及如何以及在何處使用它們的簡要說明,或者您可以查找模板命名空間中的所有頁面。
維基標記 | 目的 | 模板顯示 | ||
---|---|---|---|---|
{{stub}} | 表明條目處於小作品狀態。該通知應被添加到條目底部。 | |||
{{outlinedistrict}} {{outlinecity}} {{outlineregion}} {{outlinecountry}} {{outlinephrasebook}} {{outlineitinerary}} {{outlinetopic}} {{outlinepark}} |
表明特定類型的條目處於大綱狀態。該通知應被添加到條目底部。 | |||
{{usabledistrict}} {{usablecity}} {{usableregion}} {{usablecountry}} {{usablephrasebook}} {{usabletopic}} {{usableitinerary}} {{usablepark}} |
表明特定類型的條目處於可用狀態。該通知應被添加到條目正下方內容之底部。 | |||
{{guidedistrict}} {{guidecity}} {{guideregion}} {{guidecountry}} {{guidephrasebook}} {{guidetopic}} {{guideitinerary}} {{guidepark}} |
表明特定類型的條目處於指南狀態。該通知應被添加到條目正下方內容之底部。 | |||
{{stardistrict}} {{starcity}} {{starregion}} {{starcountry}} {{starphrasebook}} {{startopic}} {{staritinerary}} {{starpark}} |
表明特定類型的條目處於明星狀態。該通知應被添加到該條目正下方內容之底部。 | |||
{{starnomination}} | Indicates that an article has been nominated for star status. This notice should be added to the top of the article just below the "pagebanner" template. | |||
{{Destarnomination}} | Indicates that an article has been nominated to lose its star status. This notice should be added to the top of the article just below the "pagebanner" template. | |||
{{starpotential}} | Draws attention to a failed star nomination for an article and the reasons why it wasn't awarded star status. This notice should be placed at the top of an article's discussion page. |
|
維基標記 | 目的 | 模板顯示 | ||
---|---|---|---|---|
{{confused|place}} | 通知讀者不要將某個地方與另一個地方混淆,也許是名字相似。 |
| ||
{{Disamb}} | 表示頁面是消歧義頁。此通知應添加到「所有」消歧頁面的底部。 |
| ||
{{Otheruses}} | 用於通常需要消除歧義的頁面,但符合「最着名」的例外(例如巴黎和丹麥)。此通知應添加到文章的頂部,並將建立指向消歧頁面的連結。 |
|
重新導向
編輯維基標記 | 目的 | 模板顯示 |
---|---|---|
{{Soft redirect|''頁面''}} | 建立一個軟重新導向到不同維基的一個頁面上。 | meta:Main page 本頁面為軟重新導向。 |
更多資訊
編輯維基標記 | 目的 | 模板顯示 |
---|---|---|
{{See also}} | 用於在頁面頂部的部分,給讀者指出相關資訊. |
|
{{Moreinfo}} | 用於在頁面頂部的部分,給讀者指向另一個頁面的特定資訊。 |
|
{{Main}} | 用於在頁面頂部的部分,給讀者指出的文章主要涉及某個話題。 |
|
條目聲明
編輯These notices are used to indicate that an article needs attention due to some problem:
維基標記 | 目的 | 模板顯示 | ||
---|---|---|---|---|
{{Delete}} | 標示條目符合快速刪除。該通知應被添加到文章的頂部。 | |||
{{Vfd}} | Indicates that an article has been recommended for deletion. This notice should be added to the top of the article. |
| ||
{{Copyvio|網址}} | Used on pages that contain a copyright violations. This notice should be placed at the top of an article. It is generally preferred to just remove copyrighted information and then leave a note on the talk page indicating where the content came from and why it was removed. | |||
{{Copypaste|網址}} | 拷貝後貼上的內容 | |||
{{Merge|目的地}} | Indicates that an article does not meet the article criteria and that its content should be merged into the destination article. This notice should be placed at the top of an article. |
| ||
{{Merge from|destination}} | Indicates that content from another article should be merged into the article. This notice should be placed at the top of an article or section. |
| ||
{{Style}} | Indicates that a page does not conform to the manual of style. This notice should be placed at the top of the relevant article or section. Optionally, the suggested remedy may be specified after a vertical bar character e.g.: {{Style|[[Units#Avoid_orphaned_units]]}}, in which case the subsequent default text of "Please use the article's talk page to ask questions if you are not sure why this tag was added and whether it is safe to remove it." will not display. |
|||
{{Advert}} | Indicates that a page contains extensive touting and hyperbole. This notice should be placed at the top of an article. | |||
{{Movetodistrict}} | Content on a huge city main page needs to be split off into districts. This notice should be placed at the top of the section that needs work. | |||
{{Movetocity}} | Content on a region page needs to be moved to the respective city articles. This notice should be placed at the top of the section that needs work. | |||
{{Districts discussion}} | Discussion on the Talk page is under way for defining new districts. This notice should be placed at the top of the city article that has a districts discussion taking place. |
| ||
{{Regions discussion}} | Discussion on the Talk page is under way for defining new regions. This notice should be placed at the top of a regions article that has a regions discussion taking place. |
| ||
{{translate|fr}} | Identifies that a more complete article exists in another language version of Wikivoyage; encourages the user to help with translation. Placed at the top of an article. |
| ||
{{TARequired}} | 需要增加人工地區詞轉換 |
| ||
{{Update|time=input time here}} | 需要更新 |
| ||
{{Dead end}} | 需要增加內部連結 | |||
{{Transcription|standard}} | Indicates that content in a phrasebook does not match Wikivoyage's romanization standards. |
|
警告聲明
編輯資訊公告提供有關危害或其他資訊重要部分給旅行者應警惕警告和聲明。
維基標記 | 目的 | 模板顯示 | ||||
---|---|---|---|---|---|---|
{{Disclaimerbox|text of disclaimer}} | A disclaimer is a sparingly-used message, normally containing editorial content about policy decisions. A disclaimer should generally be discussed prior to being added to an article. |
| ||||
{{Cautionbox|text of caution}} | Used for non-life-threatening warnings that could affect a traveler's possessions, finances, or health, and other notices that need presentation in an attention-grabbing format. It should be used sparingly—only if normal prose is insufficient for some reason.
You can use the parameter "boldtext=" to change the word "NOTE" to something else. |
| ||||
{{Warningbox|text of warning}} | Used to call out information that is vital to a traveler's safety, such as recent damage from a natural disaster, political instability, or some other serious condition. Warning boxes should be sparingly used and placed either at the top of an article or within the article section that is related to the warning. |
| ||||
{{VisaRestriction|text of information}} | Information about visa restrictions. |
|
模板聲明
編輯維基標記 | 目的 | 模板顯示 | ||
---|---|---|---|---|
<noinclude>{{documentation}}</noinclude> | Inserts the documentation on a template page. | |||
<noinclude>{{Experimental}}</noinclude> | Used for experimental templates. |
|
維基標記 | 目的 | 模板顯示 |
---|---|---|
{{Discover}} | Inserts the current "Wikivoyage Discover" factoids. Should be placed in the appropriate spot on the Main Page. |
|
These notices are used to promote articles that are collaborations of the month:
維基標記 | 目的 | 模板顯示 | ||
---|---|---|---|---|
{{Cotm|date}} | Indicates that a page is the current collaboration of the month. This notice should be placed at the top of the article's talk page. | This article is the collaboration of the month for December 2009. Find out how it can be improved, and plunge forward to make this an article we can be proud of! | ||
{{Pcotw|from-date|to-date}} | Indicates that a page was previously a collaboration of the week. This notice should be placed at the top of an article's talk page. |
| ||
{{Pcotm|date}} | Indicates that a page was previously a collaboration of the month. This notice should be placed at the top of an article's talk page. |
| ||
{{Current collaboration}} | Used by other templates to create a link to the current collaboration of the month. | 洲 | ||
{{Cotmpromote}} | Used by the Project page to promote the collaboration of the month. |
我們的大洲條目是通向其他內容的重要端口,但他們常常有格式散亂和長篇空白等問題。我們需要填入這些條目需要的基本內容,然後讓他們煥發(sparkle)。為一個大洲寫一個「觀光」或「活動」段落其實非常容易,特別是如果我們得到一隊人一起玩到自己的長處。任務:
|
大型活動
編輯These are temporary templates for use on articles where large and significant events will be hosted. These templates should be deleted and removed from here once the event has passed.
主辦城市 |
索契2014年冬季奧運會 |
Venue one |
Venue two |
Cluster three |
Park four |
索契 奧運 · 索契 2014 |
內容插入
編輯These templates are used to standardize the look of specific Wikivoyage article content.
維基標記 | 目的 | 模板顯示 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
{{Infobox|title|description}} | Used to create an infobox to display an interesting fact or notable piece of information within an article. Infoboxes should be used sparingly. |
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
{{Eatpricerange|budget|midrange|splurge}} | Used to establish the local baseline for classifying restaurant listings. |
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
{{Sleeppricerange|budget|midrange|splurge}} | Used to establish the local baseline for classifying accommodation listings. |
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
{{Climate | units = Metric | janhigh = 32 | febhigh = 33 | marhigh = 34 | aprhigh = 35 | mayhigh = 34 | junhigh = 33 | julhigh = 33 | aughigh = 33 | sephigh = 32 | octhigh = 32 | novhigh = 32 | dechigh = 31 | janlow = 21 | feblow = 23 | marlow = 25 | aprlow = 26 | maylow = 26 | junlow = 25 | jullow = 25 | auglow = 25 | seplow = 25 | octlow = 24 | novlow = 23 | declow = 21 | janprecip = 9 | febprecip = 29 | marprecip = 28 | aprprecip = 64 | mayprecip = 220 | junprecip = 149 | julprecip = 154 | augprecip = 196 | sepprecip = 344 | octprecip = 241 | novprecip = 48 | decprecip = 9 | description = Check '''Bangkok's 7 day forecast''' at [http://www.tmd.go.th/en/province.php?id=37 TMD.go.th] }} |
Used to show information about the climate of a destination. |
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
{{IATA|XXX}} {{ICAO|KXXX}} |
Used to display airport codes, either IATA or ICAO. | IATA:XXX ICAO:KXXX | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
{{Routebox | image1=image name (do not include "Image:") | imagesize1=pixel size for icon (optional, defaults to 22px) | directionl1=direction (should be N, NW, W, or SW) | majorl1=[[Next major city or junction]] | minorl1=[[Next minor city]] (optional) | directionr1=opposite direction (should be S, SE, E, or NE) | majorr1=[[Next major city or junction]] | minorr1=[[Next minor city]] (optional) }} |
Used to add routes through the city. For more than one route, add a space and then the "image" through "minorr1" lines before the closing brackets and replace "1" with "2", "3",etc. See Wikivoyage:Routebox navigation for more detailed instructions. |
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
{{pagebanner|image}} |
Used to display a banner at the top of each article | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
{{Quickbar |
Used to create the quick reference box for country pages (and should not be used anywhere else). All arguments to the command are optional. For the image argument, please make sure the width is exactly 250px (the width of the quickbar) and that the "noframe" option is specified. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
{{Regionlist | regionmap=Macao-map.png | regionmaptext=Districts of Macau | regionmapsize=250px | region1name=[[Macau/Peninsula|Macau Peninsula]] | region1color=#d56d76 | region1items= | region1description=The peninsula in the north. | region2name=[[Macau/Taipa|Taipa]] | region2color=#d5dc76 | region2items= | region2description=The northern island. | region3name=[[Macau/Cotai|Cotai]] | region3color=#d09440 | region3items= | region3description=A strip of reclaimed land. | region4name=[[Macau/Coloane|Coloane]] | region4color=#71b37b | region4items= | region4description=The southern island. }} |
Shows regions and a map of a huge city, country or region article. |
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
{{Itinerary}} | Identifies an article as a Wikivoyage "itinerary" article. Should be placed at the top of the content of an article. |
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
{{printDistricts}} | Applied to articles using the Huge City template to point out that listings are on separate district pages. Should be placed at the top of the content of an article. |
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
{{SeeDistricts}} | Applied at the top of the sleep, eat, drink, do and see sections of huge cities. Indicates that listings are to be found within the district articles of a city. |
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
{{geo|lat|long}} | Specifies the latitude and longitude of the location and adds a "Map" link to the page for a Google, Yahoo, or Microsoft map. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
{{Attribution|Source1|Source2|...|Source30}} | Identifies external sources that contributed content to the article, to comply with the Attribution requirement of the Creative Commons BY-SA license. Placed at the bottom of an article. |
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
{{Mergecredit|Redirect page}} | Identifies other articles whose content has been merged to this article, to comply with the Attribution requirement of the Creative Commons BY-SA license. Placed at the bottom of an article. |
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
{{Wikipedia|WP article name}} | Identifies content reused from articles on Wikipedia, also to comply with the Attribution requirement of the Creative Commons BY-SA license. Placed at the bottom of an article. |
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
{{Joke}} | Indicates that the article has been written as an April Fool's Day joke, and that no more edits should be made. It is placed at the top of the article. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
{{CompletedEvent|year|text}} | Indicates that the article has been written for an event that has passed, and that no more edits should be made. It is placed at the top of the article. |
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
{{LunarNewYeardates}} | Used to list the dates and names of the Lunar years based on the Chinese calendar |
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
{{Ramadandates}} | Used to list the dates of Ramadan |
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
{{See | name=Exploratorium | url=http://www.exploratorium.edu/ |
Used to display a See listing in hCard microformat, see Template:See/doc | 1 Exploratorium,地址 Pier 15, 698 The Embarcadero(at Green St),📞 +1 415 528-4360。🕘 Tu-Su 10AM-5PM; open W until 10PM, closed M。💰 Adults: $25, Students/seniors/youth: $19, Children age 5 and under: Free。簡介 A great kid friendly option, with lots of interactive exhibits teaching about science, with intriguing displays about the mind, natural systems, sound, sight, and much much more. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
{{do | …}} |
Used to display a Do/Buy/Eat/Drink/Sleep listing in hCard microformat, similar to {{see | …}} | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
{{Lang|ja|須賀川}} |
Used to display some text in another language (add the correct markup around it) | 須賀川 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
{{Flag|countryname}} |
Used to include the flag of a given country | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
{{Schengen}} |
Used to include the boilerplate text needed in the Get in section of every Schengen member | (long text, see Template:Schengen) | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
{{Euro}} |
Used to include the boilerplate text needed in the Buy section of every country using the euro | 模板索引 uses the euro (€, EUR) as its money. It is one of 23 European countries that use this common European currency: Austria, Belgium, Cyprus, Estonia, Finland, France, Germany, Greece, Ireland, Italy, Luxembourg, Malta, the Netherlands, Portugal, Slovakia, Slovenia and Spain (which are all eurozone countries of the European Union or EU) together with the six non-EU members Andorra, Kosovo, Monaco, Montenegro, San Marino and the Vatican that also solely use euros but have no say in eurozone affairs. These 23 countries together have a population of more than 330 million.
One euro is divided into 100 cents. Except for Kosovo and Montenegro, all issue their own coins with a distinctive, national face. However, all the coins' obverse looks the same, as do all bills or banknotes and all are legal tender in all 23 countries. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
{{Indian Rupee}} |
Used to include the Indian Rupee symbol | ₹ |
討論頁面
編輯維基標記 | 目的 | 模板顯示 | ||||||
---|---|---|---|---|---|---|---|---|
{{Talk page}} | Talk page of a Wikivoyager |
| ||||||
{{Swept}} | Indicates if a discussion has been swept in from the Traveller's Pub |
| ||||||
{{subst:Unsigned|username}} | Annotates unsigned posts to make discussions easier to follow. This template must be substituted. | --以上未簽名的留言由DenisYurkin(對話|貢獻)加入。 | ||||||
{{subst:Welcome}} | Welcomes a new user on their user page. This template must be substituted. |
感謝您對維基導遊的興趣與貢獻,希望您喜歡這裏。除了歡迎辭以外,也請您了解以下重要文章:
| ||||||
{{Talk archive}} | Marks a page as an archive that should not be edited. |
| ||||||
{{Airport expedition}} | Indicates an article is part of the Airport Expedition |
|
用戶頁面
編輯維基標記 | 目的 | 模板顯示 | ||
---|---|---|---|---|
{{User page}} | 用戶頁面 of a Wikivoyager |
|
圖像版權
編輯All images, files, etc. on Wikivoyage must be published according to our copyleft. When uploading a file it is imperative that you select a compatible license:
維基標記 | 目的 | 模板顯示 | ||||||
---|---|---|---|---|---|---|---|---|
{{Cc-by-sa-1.0}} | the default license for Wikivoyage before 2010 |
| ||||||
{{Cc-by-sa-2.0}} |
| |||||||
{{Cc-by-sa-2.5}} |
| |||||||
{{Cc-by-sa-3.0}} | the default license for Wikivoyage from 2010 |
| ||||||
{{Cc-by-sa-all}} | licenses the image under all current and future versions of Cc-by-sa |
| ||||||
{{Dual-gfdl-Cc-by-sa-3.0}} | for images licensed under both Cc-by-sa 3.0 and GFDL |
| ||||||
{{Dual-gfdl-Cc-by-sa-any}} | for images licensed under any version of Cc-by-sa and GFDL |
| ||||||
{{PD-creator}} | use this if you are the creator of the image and wish to release it into the Public Domain |
| ||||||
{{PD-fed}} | most images created by a US federal gov't employee during the course of duty are in the Public Domain |
| ||||||
{{PD}} | use this if you are not the creator of the image, but have found it already in the Public Domain |
| ||||||
{{Non-free image|articles= [[Article]]|license=license}} |
For non-free images uploaded locally |
| ||||||
{{Wikivoyage-screenshot}} | For screenshots uploaded locally |
| ||||||
{{License review|~~~|~~~~~}} | Indicating the license of a file has been verified by an administrator or reviewer |
|
插入樣板文本
編輯Wikivoyage has a number of article templates that can be used to format articles. The following substitution texts can be used to quickly insert the article template into newly created articles. When the article is saved the shortcut is replaced with the text. This is a one-off substitution and can only be undone by deleting the inserted text - use with care.
- Country - Type {{subst:country skeleton}} into the edit box. - Expands into the Country article template text when saved.
- Region - Type {{subst:region skeleton}} into the edit box. - Expands into the Region article template text when saved.
- Small city - Type {{subst:smallcity skeleton}} into the edit box. - Expands into the Small city article template text when saved.
- Big city - Type {{subst:bigcity skeleton}} into the edit box. - Expands into the Big city article template text when saved.
- Huge city - Type {{subst:hugecity skeleton}} into the edit box. - Expands into the Huge city article template text when saved.
- District - Type {{subst:district skeleton}} into the edit box. - Expands into the District article template text when saved.
- Park - Type {{subst:park skeleton}} into the edit box. - Expands into the Park article template text when saved.
- Phrasebook - Type {{subst:phrasebook skeleton}} into the edit box. - Expands into the Phrasebook article template text when saved.
提名模板
編輯These templates are used on Wikivoyage-namespace pages to help unify the presentation of nominations and other internal site processes.
{{FeatureNom | place=Place Name | status=articlestatus | time=featuretime | comment=Commentary | nominatedBy=~~~~ | DotMImage=Image | DotMBlurb=BlurbForFrontPage }} |
This template is used for nominations on the Wikivoyage:Destination of the Month candidates page. |
|
打印格式
編輯The following special templates were used by Wikitravel Press to control the appearance of printed text. They have no impact on the appearance of articles and can be safely ignored. They are retained for possible future use in other printed travel guides.
- {{Index|...}}
- Add an entry to the index for this point
- {{Pagebreak}}
- Force a page break here
方針頁面
編輯{{Historical}} | Marks a policy page as historical and not in active use. |
| ||
{{Nutshell|text}} | Describes a certain policy in a nutshell. It is placed at the top of a policy page. |
|
維護
編輯以下的模板中的訊息僅為參考,沒有人需強迫遵守它們。
模板名稱 | 效用 | 位置 | ||||
---|---|---|---|---|---|---|
正在進行擴展或重大修改 {{ Underconstruction }} |
|
文章頂部 |
- {{IsPartOf}} Generation of breadcrumbs for destination article.
- {{PartOfTopic}} Generation of breadcrumbs for travel topic article.
塗鴉牆
編輯Similar to Wikivoyage:Graffiti wall, you can use Template:Graffiti wall to play with a major edit to existing template before making it live for an existing (and widely used) template.
另請參閱
編輯- Using Mediawiki templates - Policies about template use and creation.
- Article templates - Guidelines about standard sections that should be included in Wikivoyage articles.