For faster navigation, this Iframe is preloading the Wikiwand page for
模板:南美洲主题 .
本模板含有复杂而精密的扩展语法。 编辑本模板前,建议您先熟悉解析器函数 与本模板的设计思路、运作原理等。若您的编辑引发了意外的问题,请尽快撤销 编辑,因为本模板可能被大量页面使用。 您所作的编辑可先在本模板的沙盒 或您的个人页面 中进行测试。
这个模板的作用是快速地建立有关各个洲中不同内容的模板。模板的原型是连结到国家的简介页面,透过更改字首及字尾,可以将连结由国家简介页面转换到该国的独立专题,例如加入字尾为政治,会令连结变为各国的政治专页;更改字首为template:,则会结连到各个国家的模板等,详细内容见以下的使用方法。
参数及使用方法 [ 编辑 ]
第一参数(字首) [ 编辑 ]
这个模板的最基本用法是修改字首或字尾,以修改字首为例:
((地區 主題|字首))
,将地区 更改为地区的名字;将字首 更改为任何想加入的文字。例如:((南美洲 主題|template:))
会令导航模板的标题变为template:南美洲 ,模板内的名字亦会同时改变,例如变成中世纪的巴西 。
代码
((南美洲主題|template:))
效果
第二参数(字尾) [ 编辑 ]
除了字首外,这个模板可以增加字尾,形式是:((地區 主題|字首|字尾))
。
代码
((南美洲主題|template:|政治))
效果
template:南美洲政治
主权国家
阿根廷
玻利维亚
巴西
智利
哥伦比亚
厄瓜多尔
圭亚那
巴拉圭
秘鲁
苏里南
乌拉圭
委内瑞拉
如果想只加入字尾,可参考以下例子:
代码
((南美洲主題||政治))
效果
更改标题 [ 编辑 ]
由于更改字首及字尾会同时改变标题及内容,添加字首或字尾后,如果想建立独立的标题,可以在代码中加入|title=
,例如:
代码
((南美洲主題|template:|政治|title=南美洲各國政治))
效果
南美洲各国政治
主权国家
阿根廷
玻利维亚
巴西
智利
哥伦比亚
厄瓜多尔
圭亚那
巴拉圭
秘鲁
苏里南
乌拉圭
委内瑞拉
展开模板 [ 编辑 ]
导航模板预设为自动折叠(编码:autocollapse),当一个页面有多于一个导航模板,它们就会折叠起来。如果要改变折叠的状态,可以在编码中加入|state=
,填入collapsed
则一个页面有多少导航模板都会呈现折叠的状态;填入expand
会令模板以展开为起始状态。
代码
((南美洲主題|template:|政治|title=南美洲各國政治|state=expand))
效果
南美洲各国政治
主权国家
阿根廷
玻利维亚
巴西
智利
哥伦比亚
厄瓜多尔
圭亚那
巴拉圭
秘鲁
苏里南
乌拉圭
委内瑞拉
不显示附属领土及其他领土 [ 编辑 ]
如果不想显示模板中的附属领土,可以在编号中加入:|countries_only=yes
,例如:
代码
((南美洲主題|countries_only=yes|state=expand))
效果
{{bottomLinkPreText}}
{{bottomLinkText}}
This page is based on a Wikipedia article written by
contributors (read /edit ).
Text is available under the
CC BY-SA 4.0 license; additional terms may apply.
Images, videos and audio are available under their respective licenses.
{{current.index+1}} of {{items.length}}
Thanks for reporting this video!
This browser is not supported by Wikiwand :( Wikiwand requires a browser with modern capabilities in order to provide you with the best reading experience. Please download and use one of the following browsers:
An extension you use may be preventing Wikiwand articles from loading properly.
If you're using HTTPS Everywhere or you're unable to access any article on Wikiwand, please consider switching to HTTPS (https ://www.wikiwand.com).
An extension you use may be preventing Wikiwand articles from loading properly.
If you are using an Ad-Blocker , it might have mistakenly blocked our content.
You will need to temporarily disable your Ad-blocker to view this page.
✕
This article was just edited, click to reload
Please click Add in the dialog above
Please click Allow in the top-left corner, then click Install Now in the dialog
Please click Open in the download dialog, then click Install
Please click the "Downloads" icon in the Safari toolbar, open the first download in the list, then click Install
{{::$root.activation.text}}
Follow Us
Don't forget to rate us
Oh no, there's been an error
Please help us solve this error by emailing us at
support@wikiwand.com
Let us know what you've done that caused this error, what browser you're using, and whether you have any special extensions/add-ons installed.
Thank you!