Template:Contract

From eRepublik Official Wiki
Jump to: navigation, search

[edit] [purge]

Documentation


Complex.png Complex template

The code of this template is really complex, please use your sandbox before editing this template



Contract
This is a Contract. Please do not change the details included within this section. The original document can be found here.

Contents

This is the main body of the contract. You can write anything that's in the original contract here. Below, you can see some tricks to make the contract more stylized.

Lists

  1. This is part of a numbered list.
  2. All parts of this list starting with "#" will be automatically numbered.
    1. This is part of a numbered list detailing a key point in the numbered list.
    2. All parts of this list starting with "#" will be automatically numbered as well.
  3. The list will continue to be numbered correctly, even if sub-numbers interrupt the pattern.
  • This is a bullet, to denote a key point.
    • This is a sub-bullet, to denote a key point of the bullet.

Signatures

This is where you would list people who have signed the contract:

AgentChieftain Flag-Pakistan.jpg
Aryamehr Flag-Iran.jpg
MiniBill Flag-Italy.jpg


This Contract was signed on September 18, 2008.


Code of the example

{{Contract|Contract|Contract|0|http://wiki.erepublik.com/index.php/Contract|
{{ContractHeader|Contents}}
This is the main body of the contract. You can write anything that's in the original contract here. Below, you can see some tricks to make the contract more stylized.

{{ContractHeader|Lists}}
#This is part of a numbered list.
#All parts of this list starting with "#" will be automatically numbered.
##This is part of a numbered list detailing a key point in the numbered list.
##All parts of this list starting with "#" will be automatically numbered as well.
#The list will continue to be numbered correctly, even if sub-numbers interrupt the pattern.

*This is a bullet, to denote a key point.
**This is a sub-bullet, to denote a key point of the bullet.

{{ContractHeader|Signatures}}
This is where you would list people who have signed the contract:
:☑ [[AgentChieftain]] {{SmFlag|Pakistan}}
:☒ [[Aryamehr]] {{SmFlag|Iran}}
:☐ [[MiniBill]] {{SmFlag|Italy}}
|September 18, 2008}}

Usage

This template is a very complex, due to the nature of all of the code involved to get this to function. Here, you can find a few tools to make contract writing a less tedious process.

Template

{{Contract|1|2|3|4|5|6|7}}

Variables

{{{1}}} - Title of the contract; will automatically turn into a link
{{{2}}} - Unique spaceless name for the contract
{{{3}}} - State of the contract template; 0 = Collapsed, 1 = Expanded
{{{4}}} - Link to the original contract, should be in URL form
{{{5}}} - Contents of the contract
{{{6}}} - Start date of the original contract, or the date of the last signature
{{{7}}} - End date of the original contract, or the date of the invalidation (Doesn't have to be included)

Toolbox

(Checked Box): Used to mark someone who has signed or approved the contract
(Crossed Box): Used to mark someone who has not signed or rejected the contract
(Blank Box): Used to mark someone who has not signed or abstained the contract
{{ContractHeader}}: Template that adds a header.
{{SmFlag}}: Template that adds a small flag.