模板:Tlg/doc
外觀
| 此頁面是Template:Tlg的Templatedocumentation。 此頁面可能包含了模板的使用說明、分類和其他內容。 |
| 此模板使用Lua語言: |
使用方法
{{tlg}}(template link, general,即「全功能模板鏈接」)是用來添加模板鏈接的全功能模板。本模板可以代替或實現任何{{tl*}}類模板的功能,例如{{tl}}、{{tlx}}、{{tlb}}。可用參數如下:
code=yes:使用<code>...</code>HTML屬性(通常是等寬字體),如{{tlc}}、{{tlx}}、{{tlxb}}bold=yes:讓文字變成粗體,如{{tlb}}、{{tlxb}}italic=yes:讓參數變成斜體,如{{tlxi}}nolink=yes:不鏈接至模板頁面,如{{tlf}}、{{tld}}、{{tlc}}braceinside=yes:將裡面的一層括號包含在鏈接里,如{{tn}}subst=yes:添加subst:前綴,如{{tls}}nosubstlink=yes:去除subst:的鏈接,暫無其他模板可替代(需要添加subst=yes才有效果)
alttext=FOO:將鏈接本來顯示的文字替換成別的文字,如{{tla}}nowrap=yes:在顯示結果中防止斷行
範例
- Note
- On the source sister projects, en.wikipedia and Meta, X0, X1, X2, …, X9 are sandbox templates for experimentation on involved templates that need be in template space. An auto-cleansing software facility exists that might be used to duplicate the facility on other Sister projects.