Jump to content
Main menu
Main menu
move to sidebar
hide
Navigation
Main page
Recent changes
Random page
Special pages
contributors
Wiki Rules
Style Guide
Needed Pages
game-components
Getting started guide
Animals
Buildings
Compute Blocks
Crops & Trees
Decor
Game Mechanics
Items
Logistic Blocks
Paths
Quests
Structural Blocks
Terraforming
Vehicles
factorytown2-links
Steam
Discord
Youtube
Official website
Factory Town 2 Wiki
Search
Search
Appearance
Create account
Log in
Personal tools
Not logged in
Talk
Contributions
Create account
Log in
Editing
Template
:
Ambox/doc
Template
Discussion
English
Read
Edit
View history
Tools
Tools
move to sidebar
hide
Actions
Read
Edit
View history
General
What links here
Related changes
Page information
Appearance
move to sidebar
hide
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
{{#ifeq:{{ROOTPAGENAME}}|Ambox|"Ambox" is an abbreviation for '''A'''rticle '''m'''essage '''box'''. You can use amboxes in articles to indicate something important about the current page, often in the header.| This '''message template''' is an [[Template:Ambox|article message box]], or '''ambox'''. The documentation below discusses how to use each ambox provided by the wiki. }} == Premade amboxes == === Problem notice amboxes === These amboxes are used temporarily to notify other editors and visitors about a problem with an article. These amboxes support the following parameters: * <code>|tiny=</code>: If set to <code>yes</code>, the box will have less padding and the icon will be much smaller than default. * <code>|class=</code>: Any additional CSS classes to add to the ambox container element. * <code>|date=</code>: The date the ambox was added to the page. * <code>|nocat=</code>: If set to <code>yes</code>, no category will be added to the page. Use this only when creating documentation. '''Note:''' Premade amboxes need the base {{tl|Ambox}} template to work. {| class="wikitable" ! Code !! Result |- | {{tl|Cleanup}} || {{Cleanup|nocat=yes}} |- | {{tl|Delete}} || {{Delete|nocat=yes}} |- | {{tl|Merge|Other Page}} || {{Merge|Template:Ambox{{!}}Other Page|nocat=yes}} |- | {{tl|Move|New Title}} || {{Move|Template:Ambox{{!}}New Title|nocat=yes}} |- | {{tl|Split|Split Title}}<br/><br/>{{tl|Split|Split Title 1|Split Title 2|Split Title 3}} || {{Split|Template:Ambox{{!}}Split Title|nocat=yes}} {{Split|Template:Ambox{{!}}Split Title 1|Template:Ambox{{!}}Split Title 2|Template:Ambox{{!}}Split Title 3|nocat=yes}} |- | {{tl|Stub}} || {{Stub|nocat=yes}} |- |} === Informational amboxes === These amboxes are intended as permanent fixtures to a page, to notify visitors about some piece of information relevant to the page. These amboxes support the following parameters in addition to any listed: * <code>|tiny=</code>: If set to <code>yes</code>, the box will have less padding and the icon will be much smaller than default. * <code>|class=</code>: Any additional CSS classes to add to the ambox container element. {| class="wikitable" ! Code !! Additional parameters !! Result |- | {{tl|Spoiler warning}} || || {{Spoiler warning|nocat=yes}} |- | {{tl|No direct use}} || || {{No direct use|nocat=yes}} |- | {{tl|Uses Lua}}<br/><br/>{{tl|Uses Lua|Module 1, Module 2, Module 3}} || <code><nowiki>|1=</nowiki></code>, a comma-separated list of modules used || {{Uses Lua|nocat=yes}} {{Uses Lua|Module 1, Module 2, Module 3|nocat=yes}} |- | {{tl|Disambig}}<br/><br/>{{tl|Disambig|Topic Name}} || <code><nowiki>|1=</nowiki></code>, the topic name (defaults to <nowiki>{{PAGENAME}})</nowiki> || {{Disambig|nocat=yes}} {{Disambig|Topic Name|nocat=yes}} |- | {{tl|From Wikipedia}}<br/><br/>{{tl|From Wikipedia|Template:En-WP_attribution_notice,Wikipedia:Reusing Wikipedia content}} || <code><nowiki>|1=</nowiki></code>, a comma-separated list of Wikipedia pages used || {{From Wikipedia|nocat=yes}} {{From Wikipedia|Template:En-WP_attribution_notice,Wikipedia:Reusing Wikipedia content|nocat=yes}} |- |} === Optional parameters === You can use optional parameters to further customize a premade ambox. The example below is using <code>tiny=yes</code> and <code>date=01/01/2021</code>. {{Cleanup|tiny=yes|date=01/01/2021|nocat=yes}} == Creating a custom ambox == You can create additional ambox templates as needed using the following parameters: <pre> {{Ambox | color = The left border color. | icon = The icon image to be displayed. | title = The optional title. | message = The explanation text displayed. | tiny = If you want the tiny version of the ambox, fill the parameter with "yes". | date = An optional date of creation for the message. | class = An optional CSS class for the ambox. }} </pre> == Dependencies == For this template to work properly, you need the following: * <code>.ambox</code> and any related classes, found in [[MediaWiki:Common.css]]. <includeonly>[[Category:Notice templates]]</includeonly><noinclude>[[Category:Template documentation]]</noinclude>
Summary:
Please note that all contributions to Factory Town 2 Wiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
Factory Town 2 Wiki:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Pages included on this page:
Template:Ambox
(
edit
)
Template:Cleanup
(
edit
)
Template:Delete
(
edit
)
Template:Disambig
(
edit
)
Template:From Wikipedia
(
edit
)
Template:Merge
(
edit
)
Template:Move
(
edit
)
Template:No direct use
(
edit
)
Template:Split
(
edit
)
Template:Spoiler warning
(
edit
)
Template:Stub
(
edit
)
Template:Tl
(
edit
)
Template:Uses Lua
(
edit
)
Search
Search
Editing
Template
:
Ambox/doc
Add topic