Humankind
ParaWikis
Notice
: Undefined index: HTTP_ACCEPT_LANGUAGE in
/data/wwwroot/www.parawikis.com/skins/Liberty/LibertyTemplate.php
on line
185
最新百科
都市天际线2百科
英雄无敌3百科
维多利亚3百科
奇妙探险队2百科
罪恶帝国百科
英白拉多:罗马百科
热门百科
群星百科
欧陆风云4百科
十字军之王2百科
十字军之王3百科
钢铁雄心4百科
维多利亚2百科
ParaWikis
申请建站
ParaWikis
ParaCommons
最近更改
随机页面
加入QQ群
工具
链入页面
相关更改
特殊页面
页面信息
页面值
阅读
编辑源代码
查看历史
讨论
编辑“
Template:FP link/doc
”
警告:
您没有登录。如果您做出任意编辑,您的IP地址将会公开可见。如果您
登录
或
创建
一个账户,您的编辑将归属于您的用户名,且将享受其他好处。
反垃圾检查。
不要
加入这个!
{{doc/start}} This template is for creating the styled links used within boxes on the front page: [[{{SITENAME}}]]. It relies heavily on CSS in [[MediaWiki:Common.css]], [[MediaWiki:Hydradark.css]] and [[MediaWiki:Mobile.css]]. ==Usage== Any group of {{tlx|FP link}} templates must be enclosed by an element with the class <code>fplinks</code>. ===Internal (wiki) links=== <pre> {{FP link | destination | display text /optional | image = file link /optional | width = <normal/wide/full> /optional | imageonly = <true/false> /optional | plain = <true/false> /optional }} </pre> ===External links=== <pre> {{FP link | url = destination | display text /optional | image = file link /optional | width = <normal/wide/full> /optional | imageonly = <true/false> /optional | plain = <true/false> /optional }} </pre> ==Parameters== ===Internal (wiki) links=== ;<code>''destination''</code> : Destination wiki page. '''Required'''. ;<code>''display text''</code> : Optional text to display instead of the name of the destination page. ===External links=== ;<code>|url=</code> : The destination URL. '''Required''' for external links. ;<code>''display text''</code> : Optional text to display instead of the URL. If omitted, the full URL will be displayed. ===Style parameters=== ;<code>|image=</code> : Optional image, to be displayed above the link. ;<code>|width=</code> : Determines the size of the link box. <code>normal</code> links take up to 25% of the width of the containing element. <code>wide</code> links take up to 33% of the containing element. <code>full</code> links take the entire width of the containing element. If omitted, defaults to <code>normal</code>. ;<code>|imageonly=</code> : When an image is specified, this determines whether to show only the image or both the image and the link. <code>true</code> will show only the image, <code>false</code> will show the link as well. If omitted, defaults to <code>false</code>. ;<code>|plain=</code> : This provides an option to remove backgrounds and borders for certain links. <code>true</code> will remove visible styles, <code>false</code> will use the default styles. If omitted, defaults to <code>false</code>. ==Examples== ===Links only=== <pre> <div class="fplinks"> {{FP link | Main Page | Normal}} {{FP link | Main Page | Wide | width = wide}} {{FP link | Main Page | Plain | plain = true}} {{FP link | Main Page | Full width | width = full}} </div> </pre> <div class="fplinks"> {{FP link | Main Page | Normal}} {{FP link | Main Page | Wide | width = wide}} {{FP link | Main Page | Plain | plain = true}} {{FP link | Main Page | Full width | width = full}} </div> ===With images=== <pre> <div class="fplinks"> {{FP link | Main Page | With image | image = Wiki.png}} {{FP link | Main Page | Hidden text | image = Wiki.png | imageonly = true}} {{FP link | Main Page | Plain | image = Wiki.png | plain = true}} {{FP link | Main Page | Plain | image = Wiki.png | plain = true | imageonly = true}} {{FP link | Main Page | Wide with image | image = Wiki.png | width = wide}} {{FP link | Main Page | Wide hidden text | image = Wiki.png | width = wide | imageonly = true}} </div> </pre> <div class="fplinks"> {{FP link | Main Page | With image | image = Wiki.png}} {{FP link | Main Page | Hidden text | image = Wiki.png | imageonly = true}} {{FP link | Main Page | Plain | image = Wiki.png | plain = true}} {{FP link | Main Page | Plain | image = Wiki.png | plain = true | imageonly = true}} {{FP link | Main Page | Wide with image | image = Wiki.png | width = wide}} {{FP link | Main Page | Wide hidden text | image = Wiki.png | width = wide | imageonly = true}} </div> {{doc/end}}
摘要:
请注意您对Humankind百科的所有贡献都被认为是在知识共享署名-非商业性使用-相同方式共享下发布,请查看在
Humankind百科:版权
的细节。如果您不希望您的文字被任意修改和再散布,请不要提交。
您同时也要向我们保证您所提交的内容是您自己所作,或得自一个不受版权保护或相似自由的来源。
未经许可,请勿提交受版权保护的作品!
为防止机器编辑,请完成下方验证
取消
编辑帮助
(在新窗口中打开)
本页使用的模板:
Template:Doc/end
(
编辑
)
Template:Doc/start
(
编辑
)
Template:FP link
(
编辑
)
Template:Tlx
(
编辑
)
×
登录
密码
记住登录
加入Humankind百科
忘记密码?
其他方式登录