Difference between revisions of "Template:ListEntry"

From CWCki
Jump to navigation Jump to search
m
 
(162 intermediate revisions by 4 users not shown)
Line 1: Line 1:
|-
|-
|<span style="display:none">{{{Date}}}</span> {{#time:d [[F Y]]|{{{Date}}}}}<span style="display:none">{{{Description|}}}</span>
|'''{{{Title|}}}'''
|'''{{{Title|}}}'''
|{{{Date|}}}
|{{{Subject|}}}
|{{{Subject|}}}
|{{{Performance|}}}
|{{{Performance|}}}
|{{{Saga|}}}
|{{{Saga|}}}
|{{{Shirt|}}}
|{{{Shirt|}}}
|{{{Leak|}}} <span style="display:none"><div style="position:relative;margin-left:-68.8em;margin-right:-68.8em">{{{Description|}}}</div></span>
|{{{Leak|}}}
|-
|-
|<span style="display:none">{{{Title|}}}</span>
|colspan="7"|<span style="display:none">{{{Date}}}</span> {{{Description|}}}
|style="border-left-style:hidden"|<span style="display:none">{{{Date|}}}</span>
|style="border-left-style:hidden;display:none"|{{{Title|}}}
|style="border-left-style:hidden"|<span style="display:none">{{{Subject|}}}</span>
|style="border-left-style:hidden;display:none"|{{{Subject|}}}
|style="border-left-style:hidden"|<span style="display:none">{{{Performance|}}}</span>
|style="border-left-style:hidden;display:none"|{{{Performance|}}}
|style="border-left-style:hidden"|<span style="display:none">{{{Saga|}}}</span>
|style="border-left-style:hidden;display:none"|{{{Saga|}}}
|style="border-left-style:hidden"|<span style="display:none">{{{Shirt|}}}</span>
|style="border-left-style:hidden;display:none"|{{{Shirt|}}}
|style="border-left-style:hidden"|<span style="display:none">{{{Leak|}}} </span><div style="position:relative;margin-left:-68.8em;margin-right:-68.8em">{{{Description|}}}</div>
|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

|- |{{{Date}}} Error: Invalid time. |' | | | | | |- |colspan="7"|{{{Date}}} |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:

1999-10-06 06 October 1999Example description here. Example Title Pickles Whatever Example Saga The Classic LeakedLeaked
1999-10-06 Example description here. Example Title Pickles Whatever Example Saga The Classic LeakedLeaked