这里是全站通知
模板:Infobox Grant/doc
Description
This Template displays the infobox normally used at the top of an article and can be used for the following languages:
| Language | Flag | ISO |
|---|---|---|
| English | 文件:Lang en.png | en |
| French | 文件:Lang fr.png | fr |
| German | 文件:Lang de.png | de |
| Russian | 文件:Lang ru.png | ru |
| Italian | 文件:Lang it.png | it |
| Language | Flag | ISO |
|---|---|---|
| Spanish | 文件:Lang es.png | es |
| Finnish | 文件:Lang fi.png | fi |
| Danish | 文件:Lang dk.png | dk |
| Swedish | 文件:Lang se.png | se |
| Norwegian | 文件:Lang no.png | no |
| Language | Flag | ISO |
|---|---|---|
| Dutch | 文件:Lang nl.png | nl |
| Polish | 文件:Lang pl.png | pl |
| Portuguese | 文件:Lang pt.png | pt |
| Portuguese (Brasil) | 文件:Lang br.png | br |
| Romanian | 文件:Lang ro.png | ro |
| Language | Flag | ISO |
|---|---|---|
| Greek | 文件:Lang gr.png | gr |
| Ukrainian | 文件:Lang ua.png | ua |
| Czech | 文件:Lang cz.png | cz |
| Hungarian | 文件:Lang hu.png | hu |
| Bulgarian | 文件:Lang bg.png | bg |
| Language | Flag | ISO |
|---|---|---|
| Turkish | 文件:Lang tr.png | tr |
| Thai | 文件:Lang th.png | th |
| Korean | 文件:Lang kr.png | kr |
| Japanese | 文件:Lang jp.png | jp |
| Chinese | 文件:Lang cn.png | cn |
Usage
{{Infobox Grant |parameter= |parameter= | ... }}
Parameters
| Function | Description |
|---|---|
| lang | Required - Available languages: en=english (default), de=german, fr=french, it=italian, es=spanish, ru=russian |
| name | Required - The name of the staff member as displayed in the game. |
| image | Required - The image should be a screenshot. If no image is supplied, a placeholder image will fill in its space until one is provided. |
| type | Required - These are: Starting Grant, Locked Grant or Hidden Grant |
| advance | Required - How much do I get, when a grant is choosen? |
| completion | Required - How much do I get, when a grant is completed? |
| total | Required - How much do I get total? |
| objectives | Required - What do I have to do, to meet demands? |
| prerequisites | Optional - What has to be done, to be able to choose the grant? |
Example
{{Infobox Grant
|lang=en
|name=Prison Maintenance
|image=
|type=Locked Grant
|advance=10,000
|completion=5,000
|total=15,000
|objectives=
* Unlock [[Maintenance]] through [[Bureaucracy]]
* Unlock [[Bureaucracy#Cleaning|Cleaning]] through [[Bureaucracy]]
* Unlock [[Bureaucracy#Grounds_Keeping|Grounds Keeping]] through [[Bureaucracy]]
* Hire a [[Foreman]] (Requires an [[Office]])
* Hire at least two [[Janitor|janitors]]
* Hire a [[gardener]]
|prerequisites=
* Completed [[Basic Detention Centre]]
}}
Result:
| 文件:Reports-Grants.png Prison Maintenance | ||
|
Type: |
Locked Grant | |
|
Advance Payment: |
$10,000 | |
|
Completion Bonus: |
$5,000 | |
|
Grant Total: |
$15,000 | |
|
Pre-Requisites: | ||
| ||
|
Objectives: | ||
| ||

沪公网安备 31011002002714 号