Difference between revisions of "Template:ListEntry"

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


<noinclude>
Since the template is used in tables, let's start with one.
{| class="wikitable sortable"
 
!style="width:36em"|Title
<pre>|class="wikitable sortable" style="empty-cells:hide"!
!style="width:6em"|Date
!style="width:62%"|
!style="width:6em"|Subj.
!style="width:8%"|
!style="width:6em"|Perf.
!style="width:8%"|
!style="width:6em"|Saga
!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
{{ListEntry
|Title = [[Sonic the Hedgehog Watch & Win Sweepstakes]]
|Title = Example Title
|Date = 1994-02-26
|Date = 1999-10-06
|Subject = {{Video games}}{{Sex}}{{Video games}}{{Sex}}
|Subject = Pickles
|Performance = {{Comedy}}
|Performance = Whatever
|Saga =
|Saga = Example Saga
|Description = Christian wins a contest held in 1993 to promote the Sonic the Hedgehog cartoon. Chris is one of the two grand prize winners, who each won a $1000 video game shopping spree.  
|Shirt = The Classic
|Leak = {{Leaked}}
|Description = Example description here.
}}
}}
|}
|}</pre>
</noinclude>
 
 
- 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