Template:Types: Difference between revisions
Created page with "{{TemplateUsage |usage=<pre>{{Types|Border Color|Custom Sort Key for Category:Types}}</pre> |description=Links to the translation of the provided page in the same language as the interface language of the user if it exists. }} <onlyinclude><div style="{{rounded|5px}} float:right; text-align:center; background:#FFF; border: 2px solid #{{ {{{1|Other}}}Color}}; margin-left: 5px; margin-bottom: 5px"> <div style="padding-top:3px">'''{{color|000|Types}}'''</div> <div..." |
mNo edit summary |
||
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<translate><!--T:1--> | |||
{{TemplateUsage | {{TemplateUsage | ||
|usage=<pre>{{Types|Border Color|Custom Sort Key for Category:Types}}</pre> | |usage=<pre>{{Types|Border Color|Custom Sort Key for Category:Types}}</pre> | ||
|description= | |description=Creates a navigation table for all types. | ||
}} | The custom sort key defines the page's '''index in Category:Types''' (<code>* 1</code> will appear first in the category) | ||
<onlyinclude><div style=" | }}</translate> | ||
<onlyinclude><div class="rounded5" style="float: right; text-align: center; background: #F0F0F7; border: 2px solid #{{{1|{{StatusColor}}}}}; margin-left: 5px; margin-bottom: 5px"> | |||
<div style="padding-top:3px">'''[[Type|{{color|000|Types}}]]'''</div> | <div style="padding-top:3px">'''[[Type|{{color|000|Types}}]]'''</div> | ||
<div style="display:grid; grid-template-columns: 1fr 1fr"> | <div style="display:grid; grid-template-columns: 1fr 1fr"> | ||
Line 21: | Line 24: | ||
</div> | </div> | ||
</div><includeonly>[[Category:Types|{{{2|{{PAGENAME}}}}}]]</includeonly></onlyinclude> | </div><includeonly>[[Category:Types|{{{2|{{PAGENAME}}}}}]]</includeonly></onlyinclude> | ||
[[Category:Navigation templates]] | [[Category:Navigation templates]] |