Template:Infobox Menu/doc

From Prison Architect Wiki
< Template:Infobox Menu
Revision as of 19:44, 4 July 2017 by Dr. Orange (talk | contribs) (Parameters: Added Swedish to available languages)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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 Menu |parameter= |parameter= | ... }}

Parameters

Function Description
lang Required - Available languages: en=english (default), de=german, fr=french, it=italian, es=spanish, ru=Russian, se=swedish
name Required - The name of the menu button.
image Required - The image should be the game file of the menu button.
description Required - What is this button for?
submenu Required - What opened when button is pressed?
other Optional - Other information related to the menu goes here.

If there's no input for an optional parameter, just leave it free. It's filled out automatically.

Example

{{Infobox Menu
|name=Staff
|lang=en
|image=Staff.png
|description=Prison's employees who are needed to run your prison.
|submenu=''List of Staff (see below)''
|other=
}}


Result:


Staff.png

Staff

Description:

Prison's employees who are needed to run your prison.

Sub Menu:

List of Staff (see below)

Other Information:

  • None provided