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

Template:X1: Difference between revisions

From the Assassin's Creed Wiki
Jump to navigation Jump to search
imported>Thisismyrofl
No edit summary
imported>Thisismyrofl
Test
Line 3: Line 3:
► ► ► ► ► DO NOT DELETE ANYTHING ABOVE THE </nοinclude>.  Feel free to edit anything after the </nοinclude>. ◄ ◄ ◄ ◄ ◄
► ► ► ► ► DO NOT DELETE ANYTHING ABOVE THE </nοinclude>.  Feel free to edit anything after the </nοinclude>. ◄ ◄ ◄ ◄ ◄


--></noinclude>
--></noinclude><includeonly>{|style="background:transparent; border: 1px #AAAAAA solid; float:right; padding: 6px; -moz-border-radius:7px;"
 
|
{|style="width: 100%; border: 0px silver solid; float:right;" cellspacing="0" cellpadding="6"
{|style="width: 250px; float:right; background:transparent"
{{#if: {{{replyindent|}}} | {{!}}-
{{!}} rowspan="{{#if: {{{to|}}} | 5 | 4 }}" style="background:transparent" width="{{{replyindent}}}" {{!}} | {{!}}- }}
| style="background:black; border-right: 1px silver solid; border-left: 1px silver solid; border-top: 1px silver solid" width="100"|'''From:'''
| style="background:black; border-right: 1px silver solid; border-top: 1px silver solid" | {{{from}}}
{{#if: {{{to|}}} | {{!}}-
{{!}} style="background:black; border-right: 1px silver solid; border-left: 1px silver solid" {{!}} '''To:'''
{{!}} style="background:black; border-right: 1px silver solid" {{!}} {{{to}}} | }}
|-
|-
| style="background:black; border-right: 1px silver solid; border-left: 1px silver solid" | '''Date/Time:'''
{{#if: {{{icon|}}} |  {{!}} align=left {{!}} [[File:{{{icon}}}{{!}}20px]]
| style="background:black; border-right: 1px silver solid" | {{{datetime}}}
{{!}} colspan=4 align=center {{!}} '''<big>{{BASEPAGENAME}}</big>'''
{{!}} align=right {{!}} [[File:{{{icon}}}{{!}}20px]] | {{!}} colspan=6 align=center {{!}} '''<big>{{BASEPAGENAME}}</big>''' }}
|-
|-
| style="background:black; border-right: 1px silver solid; border-left: 1px silver solid" | '''Subject:'''
{{#if: {{{image|}}} | {{!}} colspan=6 align=center style="-moz-border-radius:3.5px; background:#ffffff"{{!}}<p>[[Image:{{{image}}}{{!}}200px]]</p> |
| style="background:black; border-right: 1px silver solid" | {{{subject}}}
}}
|- style="font-size:90%" valign="top"
{{#if: {{{heldby|}}} | {{!}} colspan=3 {{!}} '''Controlled by:''' {{!!}} colspan=3 align=right {{!}} {{{heldby}}} |
}}
|- style="font-size:90%" valign="top"
{{#if: {{{factions|}}} | {{!}} colspan=3 {{!}} '''Other factions:''' {{!!}} colspan=3 align=right {{!}} {{{factions}}} |
}}
|- style="font-size:90%" valign="top"
{{#if: {{{flags|}}} | {{!}} colspan=3 {{!}} '''Flags:''' {{!!}} colspan=3 align=right {{!}} {{{flags}}} |
}}
|- style="font-size:90%" valign="top"
{{#if: {{{seenin|}}} | {{!}} colspan=3 {{!}} '''Appears in:''' {{!!}} colspan=3 align=right {{!}} {{{seenin}}} |
}}
|- style="font-size:90%" valign="top"
{{#if: {{{targets|}}} | {{!}}  style="border-top:1px solid silver" colspan=6 align="center"{{!}} '''Assassination targets:'''
{{!}}-
{{!}} colspan=6 align=center {{!}} {{{targets}}}|
}}
|-
|-
| style="background:black; border-right: 1px silver solid; border-left: 1px silver solid; border-bottom: 1px silver solid" valign="top" | '''Message:'''
|}
| style="background:black; border-right: 1px silver solid; border-bottom: 1px silver solid" | {{{message}}}
|}[[Category:Locations]]</includeonly><noinclude>{{Location Infobox
|-
|image= Example.jpg
|}<br clear="all"/><noinclude>
|icon= Damascus.svg
|heldby= Held by
|factions= Factions
|targets= Targets
|flags= Flags
|seenin= Appearances
}}This is an infobox designed to be used on articles about locations.  To use, copy this:<br>
<pre>
{{Location Infobox
|image    =
|icon    =
|heldby  =
|factions =
|targets  =
|flags    =
|seenin  =
}}
</pre>
 
;image=:The file to be used in the infobox.  OMIT "File:" and wiki markup.  <tt><nowiki>[[File:Example.jpg]]</nowiki></tt> becomes just <tt><nowiki>Example.jpg</nowiki></tt>
:This template has been coded to account for if no image is given- the field is just left blank.
;icon=:The file to be used in the small pictures on either side of the name at the top of the infobox.  OMIT "File:" and wiki markup.  <tt><nowiki>[[File:Example.svg]]</nowiki></tt> becomes just <tt><nowiki>Example.svg</nowiki></tt>
:This template has been coded to account for if no icon is given- the field is just left blank.
;heldby=:Is the area currently controlled by Assassins, Saracens, Crusaders, or disputed?
;factions=:The factions who can be found in the city.
;targets=:The assassination targets found in the city.
;flags=:Which [[flags]] are found in the city?
;seenin=:In which game does the city appear?


This is a template for easy display of the [[E-mails]] that can be read at various points in ''[[Assassin's Creed]]''.  Copy this.


<pre>{{email
You can omit any field or leave it blank, and the entire field will, in the end result, be cleanly omitted.  This includes the image= and imgdesc= fields.
|from        =  
|to          =  
|datetime    =
|subject    =
|message    =
|replyindent =
}}</pre>


'''All fields must be filled,''' except <code>to</code> and <code>replywidth=</code> which are optional.  <code>replywidth=</code> refers to the indentation used for e-mails replying to other e-mails.  The other fields are self-explanatory.  If you don't know what goes in a field (e.g. what date or Subject) , use the [[E-mails]] page to find the full text.
[[Category:Templates]]</noinclude>
[[Category:Templates]]</noinclude>

Revision as of 11:06, 29 July 2009

This page is a sandbox template. Edit it however you want, then use it as a template.

This is an infobox designed to be used on articles about locations. To use, copy this:

{{Location Infobox
|image    = 
|icon     = 
|heldby   = 
|factions = 
|targets  = 
|flags    = 
|seenin   = 
}}
image=
The file to be used in the infobox. OMIT "File:" and wiki markup. [[File:Example.jpg]] becomes just Example.jpg
This template has been coded to account for if no image is given- the field is just left blank.
icon=
The file to be used in the small pictures on either side of the name at the top of the infobox. OMIT "File:" and wiki markup. [[File:Example.svg]] becomes just Example.svg
This template has been coded to account for if no icon is given- the field is just left blank.
heldby=
Is the area currently controlled by Assassins, Saracens, Crusaders, or disputed?
factions=
The factions who can be found in the city.
targets=
The assassination targets found in the city.
flags=
Which flags are found in the city?
seenin=
In which game does the city appear?


You can omit any field or leave it blank, and the entire field will, in the end result, be cleanly omitted. This includes the image= and imgdesc= fields.