Welcome to Assassin's Creed Wiki! Log in and join the community.

Template:Intro: Difference between revisions

From the Assassin's Creed Wiki
Jump to navigation Jump to search
imported>D. Cello
Created page with '<onlyinclude><!-- -->{{#ifeq:{{lc:{{{mode|}}}}}|box|<table style="margin: 0 auto 1em; background: #F5F5DC; border: 2px solid #000; width: 650px;"><tr><td style="padding: 0.4em;">…'
 
imported>Vatsa1708
m Reverted edits by Vatsa1708 (talk | block) to last version by Elchzard
 
(6 intermediate revisions by 4 users not shown)
Line 7: Line 7:
<table style="margin-bottom: {{#ifeq:{{{footer|empty}}}|empty|{{#ifeq:{{lc:{{{mode|}}}}}|box|0|1em}}|0.25em}};">  
<table style="margin-bottom: {{#ifeq:{{{footer|empty}}}|empty|{{#ifeq:{{lc:{{{mode|}}}}}|box|0|1em}}|0.25em}};">  
<tr>
<tr>
{{#ifeq:{{lc:{{{image|}}}}}|none||<td>[[File:{{{image|Intro default.png}}}|x80px]]</td>}}
{{#ifeq:{{lc:{{{image|}}}}}|none||<td>[[File:{{{image|ACsymbol A and box.jpg}}}|x80px|link=]]</td>}}
<td style="font-size: 90%; vertical-align: top;" ><!--
<td style="font-size: 90%; vertical-align: top;" ><!--
-->{{#ifeq:{{{bullet1|empty}}}|empty||* {{{bullet1}}} }}<!--
-->{{#ifeq:{{{bullet1|empty}}}|empty||* {{{bullet1}}} }}<!--
Line 24: Line 24:
--></onlyinclude><noinclude>
--></onlyinclude><noinclude>
{{documentation}}
{{documentation}}
[[Category:Templates| ]]
[[Category:News templates| ]]
[[no:Mal:Intro]]
</noinclude>
</noinclude>

Latest revision as of 05:51, 20 July 2012

Text?
Template documentation follows
Note: the template above may sometimes be partially or fully invisible.
Visit Template:Intro/doc to edit this documentation. (How does this work?)

Template for creating standardized intro text templates.

Usage[edit source]

{{Intro
|image   =Wiki noimage.jpg
|text    =This is the text which appears above the image and bulleted list.
|bullet1 =The first item in the bulleted list
|bullet2 =The second item in the bulleted list
|bullet3 =The third item in the bulleted list
}}

Parameters[edit source]

Required[edit source]

text

Text which appears above image and list. Should usually contain a sentence like "This page lists content in game".

Optional[edit source]

bullet1 - bullet5 (semi-optional)

Items in the bulleted list. If set to "empty" (or not given at all), the corresponding list item will not be displayed. It is recommended to specify 3 or 4 list items.

footer (optional)

Text displayed below image and list.

header (optional)

Text displayed above text, headline-style.

image (optional)

Image to be displayed to the left of the bulleted list (default: File:Wiki noimage.jpg). If set to "none", no image will be displayed.

mode (optional)

If set to "box", the template will be put in a box and centered.

Example[edit source]

{{Intro
|image   =Wiki noimage.jpg
|text    =This is the text which appears above the image and bulleted list.
|bullet1 =The first item in the bulleted list
|bullet2 =The second item in the bulleted list
|bullet3 =The third item in the bulleted list
}}

results in:

This is the text which appears above the image and bulleted list.
  • The first item in the bulleted list
  • The second item in the bulleted list
  • The third item in the bulleted list

Copy/paste[edit source]

{{Intro
|mode    =default
|image   =
|header  =
|text    =
|bullet1 =
|bullet2 =
|bullet3 =
|bullet4 =
|bullet5 =
|footer  =
}}