Template:Table: Difference between revisions

From Equestripedia, the Archives of Equestria!
Content added Content deleted
(Created page with "{| {| {{#Switch:{{{collapsible|no}}} |yes=class="collapsible collapsed"}} align="{{{align|center}}}" text-align="{{{text-align|center}}}" width="{{{width|100%}}}" style="backg...")
 
No edit summary
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
{| class="roundy" style="margin:auto; background: #6153A2; color: #EAD5FC; border: 2px solid #48336E; text-align:center"
{| {| {{#Switch:{{{collapsible|no}}} |yes=class="collapsible collapsed"}} align="{{{align|center}}}" text-align="{{{text-align|center}}}" width="{{{width|100%}}}" style="background: {{{background color|#{{DarkColorSwitch}}}}}; -moz-border-radius-topleft: 5px; -webkit-border-top-left-radius: 5px; -khtml-border-top-left-radius: 5px; -icab-border-top-left-radius: 5px; -o-border-top-left-radius: 5px; border-bottom-left-radius: 5px; -moz-border-radius-bottomleft: 5px; -webkit-border-bottom-left-radius: 5px; -khtml-border-bottom-left-radius: 5px; -icab-border-bottom-left-radius: 5px; -o-border-bottom-left-radius: 5px;; border-bottom-left-radius: 5px; -moz-border-radius-bottomleft: 5px; -webkit-border-bottom-left-radius: 5px; -khtml-border-bottom-left-radius: 5px; -icab-border-bottom-left-radius: 5px; -o-border-bottom-left-radius: 5px; border-bottom-right-radius: 5px; -moz-border-radius-bottomright: 5px; -webkit-border-bottom-right-radius: 5px; -khtml-border-bottom-right-radius: 5px; -icab-border-bottom-right-radius: 5px; -o-border-bottom-right-radius: 5px;; border-radius: {{{Curve|10px}}}; -moz-border-radius: {{{Curve|10px}}}; -webkit-border-radius: {{{Curve|10px}}}; -khtml-border-radius: {{{Curve|10px}}}; -icab-border-radius: {{{Curve|10px}}}; -o-border-radius: {{{Curve|10px}}};; 1em; border: 5px solid #{{LightColorSwitch}};" padding="{{{padding|0px}}}"
! Image
|-
! Title
| align="center" |
! Date
{| {{#Switch:{{{sortable|no}}} |yes = class="sortable"}} {{#switch:{{{plainlinks|no}}}|yes=class="plainlinks"}} border=1 width="100%" align="center" style="background: #{{DarkColorSwitch}}; border:1px solid #{{DarkColorSwitch}}; border-collapse:collapse;"
! Features
|- style="background: #{{LightColorSwitch}}"
! Stories
{{{1}}}
! Links
|- style="background:#FFF; color: #48336E"
| colspan = "1" class = "table-default-item-top-west"; width = 10%| [[File:mlp-equestria-girls-blu-ray.jpg|100px]]
| colspan = "1" class = "table-default-item" | {{Anchor|Equestria Girls (BR)|Equestria Girls}}''
| colspan = "1" class = "table-default-item" | {{D|Aug|6|2013}}
| colspan = "1" class = "table-default-item" | Unknown
| colspan = "1" class = "table-default-item-top-east" | ''[[My Little Pony: Equestria Girls]]''
| None yet
|}
|}
|}{{#switch:{{{clearall|yes}}}|yes=<br clear=all>|no=}}<noinclude>

== Usage ==
{{Main|Help:Table markup}}
Typical table structure should be like this:
<pre>
{{Table|
{{TH|A}}
{{TH|B}}
{{TH|C}}
{{TBT|1}}
{{TB|2}}
{{TB|3}}
{{TBT|4}}
{{TB|5}}
{{TB|6}}
}}</pre>

Makes:
{{Table|
{{TH|A}}
{{TH|B}}
{{TH|C}}
{{TBT|1}}
{{TB|2}}
{{TB|3}}
{{TBT|4}}
{{TB|5}}
{{TB|6}}
}}

The only difference between <nowiki>{{TBT}} and {{TB}}</nowiki> is that TBT has a <nowiki>|-</nowiki> at the top of it to separate that row from the next. Therefore, it should go at the top of each row.

<nowiki>{{TCs|Object to go in field|X}}</nowiki> Will add a "colspan" to the table, where "X" is the number of columns you want to take over. <nowiki>{{TRs|Object to go in field|X}}</nowiki> will do the same, but with rows.

<nowiki>{{TRsT|Object to go in field|X}}</nowiki> will do a rowspan for the first column of the table's row. The only difference being that there is a "<nowiki>|-</nowiki>" at the top of it.

<nowiki>{{TCRs|Object to go in field|X|Y}}</nowiki> will add both a rowspan and a colspan. "X" is the rowspan number and "Y" is the colspan number in this case.

[[Category:Templates]][[Category:Table templates]]
[[sv:Mall:Table]]</noinclude>

Latest revision as of 18:04, 25 July 2021

Image Title Date Features Stories Links

Equestria Girls

August 6, 2013 Unknown My Little Pony: Equestria Girls None yet