Welcome to Assassin's Creed Wiki! Log in and join the community.
Template:Intro: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
imported>Vatsa1708 |
||
| (3 intermediate revisions by 2 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|ACsymbol A and box.jpg}}}|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 25: | Line 25: | ||
{{documentation}} | {{documentation}} | ||
[[Category:News templates| ]] | [[Category:News templates| ]] | ||
</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.
|
Copy/paste[edit source]
{{Intro
|mode =default
|image =
|header =
|text =
|bullet1 =
|bullet2 =
|bullet3 =
|bullet4 =
|bullet5 =
|footer =
}}