Jump to content

Infobox Info: Difference between revisions

No edit summary
No edit summary
Line 1: Line 1:
This page was made to break down the various parts of infoboxes used on the site to explain what each part does since the formatting can be a bit complex.
This page was made to break down the various parts of infoboxes used on the site to explain what each part does since the formatting can be a bit complex.
In order to edit different parts of infoboxes on a page, you will have to use the source editor (the "Edit source" button at the top) as opposed to the visual editor (the "Edit" button) so all the page formatting can be seen and edited in plain text.


Note: This page explains the infoboxes beginning with "Infobox", and does not cover the [[Template:Infobox military conflict|Infobox military conflict infobox]] (which is currently used on the majority of event pages), or any custom ones like the [[Template:War|War infobox]], as these infoboxes are planned to be replaced by the much more customizable general infobox which this page aims to explain.
Note: This page explains the infoboxes beginning with "Infobox", and does not cover the [[Template:Infobox military conflict|Infobox military conflict infobox]] (which is currently used on the majority of event pages), or any custom ones like the [[Template:War|War infobox]], as these infoboxes are planned to be replaced by the much more customizable general infobox which this page aims to explain.
Line 26: Line 28:
|data5 = Example Leader
|data5 = Example Leader
}}
}}
WIP
 
<nowiki>{{</nowiki>Infobox
* Tells the wiki which type of infobox you want.
|bodystyle = width:25.5em
* Makes the infobox the same width as every other infobox on the wiki, since if an image in the infobox is smaller than 300px (300 pixels wide), it makes the infobox smaller.
|abovestyle = background:#c3d6ef
* Changes the background color of the name at the top of the infobox, uses Hex color values
|above = Faction Page Template
 
<nowiki>|image = [[File:Example2.png|300px]]</nowiki>
 
|caption = Optional caption explaining something about the image above
 
<nowiki>----</nowiki>
 
|data1 = {{Infobox | subbox = yes
 
&ensp;&ensp;&ensp;|labelstyle = width:40%
 
&ensp;&ensp;&ensp;|label1 = Active canvases
 
&ensp;&ensp;&ensp;<nowiki>|data1 = [[Canvas 60]] - [[Canvas 70]]<br>[[Canvas 75]] - [[Current canvas|present]]</nowiki>
 
&ensp;&ensp;&ensp;|label2 = Discord
 
&ensp;&ensp;&ensp;<nowiki>|data2 = https://discord.gg/ABCDEFG</nowiki>
 
&ensp;&ensp;&ensp;<nowiki>}}</nowiki>
 
|headerstyle = background:#c3d6ef
 
|header3 = Leadership
 
|labelstyle = width:30%
 
|label4 = Founder
 
|data4 = Example Founder
 
|label5 = Leader
 
|data5 = Example Leader
 
<nowiki>}}</nowiki>


{{Clr}}
{{Clr}}

Revision as of 13:27, 9 February 2025

This page was made to break down the various parts of infoboxes used on the site to explain what each part does since the formatting can be a bit complex.

In order to edit different parts of infoboxes on a page, you will have to use the source editor (the "Edit source" button at the top) as opposed to the visual editor (the "Edit" button) so all the page formatting can be seen and edited in plain text.

Note: This page explains the infoboxes beginning with "Infobox", and does not cover the Infobox military conflict infobox (which is currently used on the majority of event pages), or any custom ones like the War infobox, as these infoboxes are planned to be replaced by the much more customizable general infobox which this page aims to explain.

Faction infoboxes

Faction Page Template
Optional caption explaining something about the image above
Active canvasesCanvas 60 - Canvas 70
Canvas 75 - present
Discordhttps://discord.gg/ABCDEFG
Leadership
FounderExample Founder
LeaderExample Leader

{{Infobox

  • Tells the wiki which type of infobox you want.

|bodystyle = width:25.5em

  • Makes the infobox the same width as every other infobox on the wiki, since if an image in the infobox is smaller than 300px (300 pixels wide), it makes the infobox smaller.

|abovestyle = background:#c3d6ef

  • Changes the background color of the name at the top of the infobox, uses Hex color values

|above = Faction Page Template

|image = [[File:Example2.png|300px]]

|caption = Optional caption explaining something about the image above

----

|data1 = {{Infobox | subbox = yes

   |labelstyle = width:40%

   |label1 = Active canvases

   |data1 = [[Canvas 60]] - [[Canvas 70]]<br>[[Canvas 75]] - [[Current canvas|present]]

   |label2 = Discord

   |data2 = https://discord.gg/ABCDEFG

   }}

|headerstyle = background:#c3d6ef

|header3 = Leadership

|labelstyle = width:30%

|label4 = Founder

|data4 = Example Founder

|label5 = Leader

|data5 = Example Leader

}}

User infoboxes

User Page Template
Optional caption explaining something about the image above
Active canvasesCanvas 60 - Canvas 70
Canvas 75 - present
Pixels placed500k+
Discord usernameexamplename
Faction allegiance
Example Faction ALeader
Example Faction BModerator
Example Faction CModerator

WIP

Event infoboxes

      PreviousNext        
   Example Event A          Example Event B
Event Page Template
CanvasCanvas 65
OutcomeFaction Page Template victory:
  • Faction Page Template places a pixel on User Page Template's art
  • Example effect B of outcome
  • Example effect C of outcome
Belligerents
Faction Page TemplateUser Page Template
Leaders
Example LeaderUser Page Template
Members
21

WIP