Difference between revisions of "Template:ListEntry"
Jump to navigation
Jump to search
Trombonista (talk | contribs) m |
|||
(17 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
|- | |- | ||
|<span style="display:none">{{{Date}}}</span>{{#time: d | |<span style="display:none">{{{Date}}}</span> {{#time:d [[F Y]]|{{{Date}}}}}<span style="display:none">{{{Description|}}}</span> | ||
|'''{{{Title|}}}''' | |'''{{{Title|}}}''' | ||
|{{{Subject|}}} | |{{{Subject|}}} | ||
Line 14: | Line 14: | ||
|style="border-left-style:hidden;display:none"|{{{Saga|}}} | |style="border-left-style:hidden;display:none"|{{{Saga|}}} | ||
|style="border-left-style:hidden;display:none"|{{{Shirt|}}} | |style="border-left-style:hidden;display:none"|{{{Shirt|}}} | ||
|style="border-left-style:hidden;display:none"|{{{Leak|}}} | |style="border-left-style:hidden;display:none"|{{{Leak|}}}<noinclude>{{usage|1=This is a template used for adding entries to a wikitable, specifically a table of Chris's videos. The format for using this template is as follows:<br /> | ||
Since the template is used in tables, let's start with one. | |||
<pre>|class="wikitable sortable" style="empty-cells:hide"! | |||
!style="width:62%"| | |||
!style="width:8%"| | |||
!style="width:8%"| | |||
!style="width:8%"| | |||
!style="width:8%"| | |||
!style="width:3%"| | |||
!style="width:3%"| | |||
|}</pre> | |||
- Displays: | |||
{{{!}}class="wikitable sortable" style="empty-cells:hide"! | |||
!style="width:62%"{{!}} | |||
!style="width:8%"{{!}} | |||
!style="width:8%"{{!}} | |||
!style="width:8%"{{!}} | |||
!style="width:8%"{{!}} | |||
!style="width:3%"{{!}} | |||
!style="width:3%"{{!}} | |||
{{!}}} | |||
Within that table, you can add the List Entry template, and it will add a row with the information you put into the template. | |||
<pre>{{{!}}class="wikitable sortable" style="empty-cells:hide" | |||
!style="width:62%"| | |||
!style="width:8%"| | |||
!style="width:8%"| | |||
!style="width:8%"| | |||
!style="width:8%"| | |||
!style="width:3%"| | |||
!style="width:3%"| | |||
{{ListEntry | |||
|Title = Example Title | |||
|Date = 1999-10-06 | |||
|Subject = Pickles | |||
|Performance = Whatever | |||
|Saga = Example Saga | |||
|Shirt = The Classic | |||
|Leak = {{Leaked}} | |||
|Description = Example description here. | |||
}} | |||
|}</pre> | |||
- Displays: | |||
{{{!}}class="wikitable sortable" style="empty-cells:hide" | |||
!style="width:62%"{{!}} | |||
!style="width:8%"{{!}} | |||
!style="width:8%"{{!}} | |||
!style="width:8%"{{!}} | |||
!style="width:8%"{{!}} | |||
!style="width:3%"{{!}} | |||
!style="width:3%"{{!}} | |||
{{ListEntry | |||
|Title = Example Title | |||
|Date = 1999-10-06 | |||
|Subject = Pickles | |||
|Performance = Whatever | |||
|Saga = Example Saga | |||
|Shirt = The Classic | |||
|Leak = {{Leaked}} | |||
|Description = Example description here. | |||
}} | |||
{{!}}} | |||
}} | |||
[[Category:Formatting and function templates|{{PAGENAME}}]]</noinclude> |
Latest revision as of 16:49, 23 December 2010
|- |
Error: Invalid time. |' | | | | | |- |colspan="7"| |style="border-left-style:hidden;display:none"| |style="border-left-style:hidden;display:none"| |style="border-left-style:hidden;display:none"| |style="border-left-style:hidden;display:none"| |style="border-left-style:hidden;display:none"| |style="border-left-style:hidden;display:none"|Usage
These usage notes will not be included in articles bearing this template.
This is a template used for adding entries to a wikitable, specifically a table of Chris's videos. The format for using this template is as follows:
Since the template is used in tables, let's start with one.
|class="wikitable sortable" style="empty-cells:hide"! !style="width:62%"| !style="width:8%"| !style="width:8%"| !style="width:8%"| !style="width:8%"| !style="width:3%"| !style="width:3%"| |}
- Displays:
Within that table, you can add the List Entry template, and it will add a row with the information you put into the template.
{{{!}}class="wikitable sortable" style="empty-cells:hide" !style="width:62%"| !style="width:8%"| !style="width:8%"| !style="width:8%"| !style="width:8%"| !style="width:3%"| !style="width:3%"| {{ListEntry |Title = Example Title |Date = 1999-10-06 |Subject = Pickles |Performance = Whatever |Saga = Example Saga |Shirt = The Classic |Leak = {{Leaked}} |Description = Example description here. }} |}
- Displays:
October 1999 | 06Example Title | Pickles | Whatever | Example Saga | The Classic | |
Example description here. |