Help:Tables: Difference between revisions

m
Bot: Automated text replacement (-^ +{{Status|Halopedia}}\n)
No edit summary
m (Bot: Automated text replacement (-^ +{{Status|Halopedia}}\n))
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
{{Status|Halopedia}}
== Introduction ==
== Introduction ==
In Halopedia you can create a table by using the HTML code.  However, Halopedia offers a simpler way to create a table.  If you have a table in HTML that you want to convert to a wiki-table please refer to the [[Wikipedia:Help:Table#External links|Wiki-Table generators]].  
In Halopedia you can create a table by using the HTML code.  However, Halopedia offers a simpler way to create a table.  If you have a table in HTML that you want to convert to a wiki-table please refer to the [[wikipedia:Help:Table#External links|Wiki-Table generators]].  


== Pipe syntax tutorial ==
== Pipe syntax tutorial ==
Line 671: Line 672:
|}
|}
</blockquote></td></tr></table>
</blockquote></td></tr></table>
simply by replacing the parameters of the table (<code>border="1" cellpadding="2"</code> or the like) with <code><nowiki>class="wikitable"</nowiki></code>  This is because the ''wikitable'' class in [[Wikipedia:MediaWiki:Common.css|MediaWiki:Common.css]] contains a number of ''table.wikitable'' [[w:CSS|CSS]] style rules.  These are all applied at once when you mark a table with the class.  You can then add additional style rules if desired.  These override the class's rules, allowing you to use the class style as a base and build up on it:
simply by replacing the parameters of the table (<code>border="1" cellpadding="2"</code> or the like) with <code><nowiki>class="wikitable"</nowiki></code>  This is because the ''wikitable'' class in [[wikipedia:MediaWiki:Common.css|MediaWiki:Common.css]] contains a number of ''table.wikitable'' [[w:CSS|CSS]] style rules.  These are all applied at once when you mark a table with the class.  You can then add additional style rules if desired.  These override the class's rules, allowing you to use the class style as a base and build up on it:
==== Wiki markup ====
==== Wiki markup ====
<blockquote style="border: 1px solid rgb(153, 153, 153); padding: 1em;"><pre><nowiki>
<blockquote style="border: 1px solid rgb(153, 153, 153); padding: 1em;"><pre><nowiki>