Template:Tabber/doc: Difference between revisions

Jump to navigation Jump to search
No edit summary
LVL (talk | contribs)
Updated doc with translate stuff
Line 1: Line 1:
Template used to create Tabs for any page. The numbers are the names of the pages and l1, l2 etc. are used for alternate names.
Template used to create Tabs for any page. The numbers are the names of the pages. l1, l2 etc. are used for manual alternate names, while t1, t2 etc. are used for automatic translations from [[Data:Dictionary]].


== Examples ==
== Examples ==
<pre style="width:50%">
<pre style="width:50%">
{{Tabber|1=Hero|2=Hero Attributes Table}}
{{Tabber|1=Heroes|2=Hero Attributes Table}}
</pre>
</pre>
{{Tabber|1=Hero|2=Hero Attributes Table}}
{{Tabber|1=Heroes|2=Hero Attributes Table}}
<pre style="width:50%">
<pre style="width:50%">
{{Tabber|1=Hero|2=Hero Attributes Table|l2=Attributes Table}}
{{Tabber|1=Heroes|2=Hero Attributes Table|l2=Attributes Table}}
</pre>
</pre>
{{Tabber|1=Hero|2=Hero Attributes Table|l2=Attributes Table}}
{{Tabber|1=Heroes|2=Hero Attributes Table|l2=Attributes Table}}
 
Example of automatic translation (Simulated view of a Chinese page).
Note: The link (1=) usually points to the specific language page.
<pre style="width:50%">
{{Tabber|1=Heroes/zh-hans|t1=Heroes}}
</pre>
{{Tabber|1=Heroes/zh-hans|l1=英雄}}