Difference between revisions of "Template:Ad"

Wikisimpsons - The Simpsons Wiki
m
 
(9 intermediate revisions by 6 users not shown)
Line 1: Line 1:
−
{| align="right" style="background: #FFEC73; border:2px solid #E0B400; width: 19%; border-top-left-radius: 5px; -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}}};;"
+
[[File:The Simpsons TV.png|25px]] ''[[:Category:Commercials|Commercial]]'' – {{#switch:{{{pipe|no}}}|no="[[{{{1}}}]]"|yes="[[{{{1}}}|{{{3}}}]]"}} <small>{{{2|}}}</small></span><noinclude>
−
|-
+
== Usage ==
−
| align="center" | '''<big>{{{name|{{PAGENAME}}}}}</big>'''
+
Use the following code to list an appearance in an advertisement or commercial.
−
{| align="center" style="background: #FFDC00; 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}}};;"
+
<pre>{{ad|}}</pre>
−
| align="center" style="background:#FFF88F;" | {{{image}}}
 
−
|}
 
−
|-
 
−
| style="background:#FFDC00; border-radius: 10px; -moz-border-radius: 10px; -webkit-border-radius: 10px; -khtml-border-radius: 10px; -icab-border-radius: 10px; -o-border-radius: 10px;;" align="center" | '''Advert Information'''
 
−
{| align="center" style="background: #FFFDF0; width: 100%; 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}}};"
 
−
{{#if:{{{product|}}}|
 
−
! align="right" width="80px" {{!}} Product advertised:
 
−
{{!}} {{{product}}} }}
 
−
|-
 
−
{{#if:{{{release|}}}|
 
−
! align="right" width="80px" style="border-top: 1px solid #aaa;" {{!}} Released:
 
−
{{!}} style="border-top: 1px solid #aaa;" {{!}} {{{release}}} }}
 
−
|-
 
−
{{#if:{{{length|}}}|
 
−
! align="right" width="80px" style="border-top: 1px solid #aaa;" {{!}} Length:
 
−
{{!}} style="border-top: 1px solid #aaa;" {{!}} {{{length}}} }}
 
−
|}
 
−
|-
 
−
|-
 
−
|}<noinclude>
 
  
−
== Use ==
+
=== Example ===
−
<pre>
+
*{{ad|No Teasing}}
−
{{Ad
+
 
−
|name =  
+
== Image ==
−
|image =  
+
[[File:The Simpsons TV.png|thumb|left]]
−
|product =  
+
 
−
|release =
+
[[Category:Templates]][[Category:Appearance templates]]
−
|length =
+
[[sv:Mall:Ad]]</noinclude>
−
}}
 
−
</pre>[[Category:Infoboxes]]
 
−
</noinclude><includeonly>[[Category:Adverts]]</includeonly>
 

Latest revision as of 18:09, August 28, 2022

The Simpsons TV.png Commercial – "[[{{{1}}}]]"

Usage[edit]

Use the following code to list an appearance in an advertisement or commercial.

{{ad|}}

Example[edit]

Image[edit]

The Simpsons TV.png