Template:Flagu
跳到导航
跳到搜索
本说明文档为嵌入自Template:Flagu/doc(编辑 | 历史)的内容。
编者注意:请不要直接编辑模板给模板归类,而是将分类放置于模板说明文档的“<includeonly></includeonly>”部分中。
编者注意:请不要直接编辑模板给模板归类,而是将分类放置于模板说明文档的“<includeonly></includeonly>”部分中。
此模板用於在沒有超連結的國家/地區名稱旁顯示小標誌圖標。其功能與{{flag}}和{{flagcountry}}模板相同,僅差在此模板可用於不應該鏈接國名/地區名的情況(例如條目中可能出現過度連結的情況時)。
有關標誌模板系統的主要文檔/討論頁,請參閱WP:旗幟模板。
使用[编辑源代码]
- {{flagu|country identifier|optional variant}}
- country identifier is the common name of the country (e.g. "United States"), a common alias (e.g. "US"), or a standard country code such as those listed at ISO 3166-1 alpha-3
- variant is an optional second parameter that can be used to display a flag variation, such as a historical flag. The list of variants for each country is documented on the appropriate template page, such as Template:Country data Germany
請參閱這個潛在調用模板的前綴索引。
舉例[编辑源代码]
Wiki標記 | 顯示 |
---|---|
{{flagu|Germany}} |
![]() |
{{flagu|GER}} |
![]() |
{{flagu|Germany|empire}} |
![]() |
{{flagu|German Empire}} |
![]() |
另見[编辑源代码]
- Template:flagcountry—始終將鏈接文本擴展到完整的國家/地區名稱。
- Template:flagicon—只顯示旗幟。
- Template:flagdeco—只顯示旗幟,但沒有圖像的替代文字。