Jump to content
Main menu
Main menu
move to sidebar
hide
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
Special pages
The Hero of Realengo and the Legendary Street to Salvation: Horizons of a New Genesis Revival
Search
Search
Appearance
Create account
Log in
Personal tools
Create account
Log in
Pages for logged out editors
learn more
Contributions
Talk
Editing
Template:Infobox/doc
(section)
Template
Discussion
English
Read
Edit source
View history
Tools
Tools
move to sidebar
hide
Actions
Read
Edit source
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!
== Creating a new infobox from this one == This template makes it easy to get a working infobox going for the user to edit. You should begin by copying the infobox to a new location - '''don't edit this page, make a copy first.''' This Createbox will help make the new page. Think about if you want an '''Infobox Character''', an '''Infobox Item''', or '''Infobox Whatever''' - then type it below, hit the button and save the page immediately (a copy of the code will be provided). Get ready to come back to ''this'' page for instructions on how to continue. <createbox> prefix=Template: preload=Template:Infobox buttonlabel=Make your infobox! default = Infobox Foo </createbox> === Changing parameters === Besides the title, image, and image caption, there are eight data parameters on this infobox. They are not particularly useful fields as they are - "first", "second", "third", "fourth", "fifth", "sixth" - though "previous" and "next" may prove generically useful for some purposes. Hit "Edit" and look at the code. Every line that begins with <code><data</code> is a data parameter. They look like this: <poem style="font-family:monospace; color:red;"> <data source="<span style="background:yellowgreen;color:red;">first</span>"><label><span style="background:cyan;color:red;">First parameter</span></label><default><span style="color:red;background:yellow;">'<nowiki/>'Unknown'<nowiki/>'</span></default></data> </poem> * <span style="background:cyan;color:red;">First parameter</span> is the label that appears on the finished infobox, like that on the top of this page. * <span style="background:yellowgreen;color:red;">first</span> is the parameter name that is displayed in the template's syntax as <code>| first =</code>, then filled out on another page. * <code style="color:red;"><default><span style="color:red;background:yellow;">'<nowiki/>'Unknown'<nowiki/>'</span></default></code> defines what should be displayed if the parameter is left blank. Two apostrophes around a word italicizes it: ''Unknown''. Think about what labels you would like your finished infobox to have - an Infobox Item might have "Price", "Effects", "Weight", for instance, but an Infobox Character probably would have others - and then change the labels to match. Change the parameter names too - they don't have to be the same as the labels at all. If you run out of data parameters, just copy one of the others directly below itself; you can remove parameters too. If you want a parameter to be hidden if it's blank, then remove the <code style="color:red;"><default><span style="color:red;background:yellow;">'<nowiki/>'Unknown'<nowiki/>'</span></default></code>. Note that the last two parameters are within a <code style="color:red;"><group layout="horizontal">...</group></code> tag, which means that they display side-by-side. If you don't like that, then you may remove the <code style="color:red;"><group layout="horizontal"></code> opening tag '''and''' the <code style="color:red;"></group></code> that closes it. === Changing headers === There are three headings in the default infobox: "Some attributes", "Other attributes", and "Order". They are easy to change or remove. In the code, they look like this: <poem style="font-family:monospace; color:green;"> <header><span style="color:green;background:yellow;">Some attributes</span></header> </poem> To change these headers, just edit the <span style="color:green;background:yellow;">Some attributes</span> to be whatever you want; if you don't want a heading at all, then remove the <code style="color:green;"><nowiki><header>...</header></nowiki></code> and everything inside of it. If you want a heading where there isn't one, then copy the above code to the point in the infobox where you want it. === Documentation === Once you have created your new infobox, you should create a blank syntax for copying to pages that shall use that infobox. It should look like the syntax below, but with the parameter names you added in instead. Put that syntax in a /doc subpage for your template, like '''Template:Infobox Whatever/doc''', so that the [[:Template:Documentation|documentation]] template displays it on the template page itself for anyone who wants to use it. === See also === * [[Special:InfoboxBuilder]] is an easy-to-use interface for the creation of infoboxes * [[Help:Infoboxes]] can explain advanced features of portable infoboxes * [[Help:Templates]]
Summary:
Please note that all contributions to The Hero of Realengo and the Legendary Street to Salvation: Horizons of a New Genesis Revival 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
The Hero of Realengo and the Legendary Street to Salvation: Horizons of a New Genesis Revival:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Search
Search
Editing
Template:Infobox/doc
(section)
Add topic