Difference between revisions of "NSWiki:GenericInfoBox"
Frisbeeteria (Talk | contribs) m (categorized) |
Frisbeeteria (Talk | contribs) (fixed width issue for long names) |
||
Line 4: | Line 4: | ||
== Generic Infobox instructions == | == Generic Infobox instructions == | ||
Copy the '''The Infobox Wiki Code''' below the line to make your own ''custom'' [[NSwiki:Info boxes|NS Info box]]. Each line must start with <big>''' { ! | '''</big>. | Copy the '''The Infobox Wiki Code''' below the line to make your own ''custom'' [[NSwiki:Info boxes|NS Info box]]. Each line must start with <big>''' { ! | '''</big>. | ||
− | Replace any text you see in the box to the right with text of your own choosing. If you need more lines in the table, copy the three lines beginning with '''<big>|-</big>''' in whatever style you need, and just paste them in where you want them. | + | Replace any text you see in the box to the right with text of your own choosing. If you need more lines in the table, copy the three lines beginning with '''<big>|-</big>''' in whatever style you need, and just paste them in where you want them. The sample [[nation]]s have been left in for ease of editing and replacing. |
Line 10: | Line 10: | ||
− | You can also insert image URLs to create an image block. Images should be under 300 pixels in width, and will automatically show up if you simply paste in the URL without wiki formatting, as shown below. | + | You can also insert [[flag|image]] URLs to create an image block. Images should be kept under 300 pixels in width, and will automatically show up if you simply paste in the URL without wiki formatting, as shown below. You can remove the image section if you don't need it, of course. |
Line 82: | Line 82: | ||
|- | |- | ||
| | | | ||
− | {| border="0" cellpadding="1" | + | {| border="0" cellpadding="1" width="100%" |
|- | |- | ||
− | | align="center" | [[ | + | | align="center" | [[The West Pacific]] |
− | | align="center" | [[ | + | | align="center" | [[Goobergunchia]] |
|- | |- | ||
− | | align="center" | [[ | + | | align="center" | [[Knootoss]] |
− | | align="center" | [[ | + | | align="center" | [[The East Pacific]] |
|- | |- | ||
| align="center" | [[Nation]] | | align="center" | [[Nation]] | ||
| align="center" | [[Nation]] | | align="center" | [[Nation]] | ||
+ | |- | ||
+ | | align="center" | [[Region]] | ||
+ | | align="center" | [[Region]] | ||
+ | |} | ||
+ | {| border="0" cellpadding="1" width="100%" | ||
+ | |- | ||
+ | | align="center" | [[The Rejected Realms]] | ||
+ | |- | ||
+ | | align="center" | [[The Nationstates Bunny]] | ||
+ | |- | ||
+ | | align="center" | [[Region]] | ||
|- | |- | ||
| align="center" | [[Nation]] | | align="center" | [[Nation]] | ||
− | | | + | |- |
|} | |} | ||
|- | |- | ||
Line 105: | Line 116: | ||
<nowiki>|-</nowiki></br> | <nowiki>|-</nowiki></br> | ||
<nowiki>|</nowiki></br> | <nowiki>|</nowiki></br> | ||
− | <nowiki>{| border="0" cellpadding="1" | + | <nowiki>{| border="0" cellpadding="1" width="100%" </nowiki></br> |
<nowiki>|-</nowiki></br> | <nowiki>|-</nowiki></br> | ||
− | <nowiki>| align="center" | [[ | + | <nowiki>| align="center" | [[The West Pacific]]</nowiki></br> |
− | <nowiki>| align="center" | [[ | + | <nowiki>| align="center" | [[Goobergunchia]]</nowiki></br> |
<nowiki>|-</nowiki></br> | <nowiki>|-</nowiki></br> | ||
− | <nowiki>| align="center" | [[ | + | <nowiki>| align="center" | [[Knootoss]]</nowiki></br> |
− | <nowiki>| align="center" | [[ | + | <nowiki>| align="center" | [[The East Pacific]]</nowiki></br> |
<nowiki>|-</nowiki></br> | <nowiki>|-</nowiki></br> | ||
<nowiki>| align="center" | [[Nation]]</nowiki></br> | <nowiki>| align="center" | [[Nation]]</nowiki></br> | ||
<nowiki>| align="center" | [[Nation]]</nowiki></br> | <nowiki>| align="center" | [[Nation]]</nowiki></br> | ||
+ | <nowiki>|-</nowiki></br> | ||
+ | <nowiki>| align="center" | [[Region]]</nowiki></br> | ||
+ | <nowiki>| align="center" | [[Region]]</nowiki></br> | ||
+ | <nowiki>|}</nowiki></br> | ||
+ | <nowiki>{| border="0" cellpadding="1" width="100%" </nowiki></br> | ||
+ | <nowiki>|-</nowiki></br> | ||
+ | <nowiki>| align="center" | [[The Rejected Realms]]</nowiki></br> | ||
+ | <nowiki>|-</nowiki></br> | ||
+ | <nowiki>| align="center" | [[The Nationstates Bunny]]</nowiki></br> | ||
+ | <nowiki>|-</nowiki></br> | ||
+ | <nowiki>| align="center" | [[Region]]</nowiki></br> | ||
<nowiki>|-</nowiki></br> | <nowiki>|-</nowiki></br> | ||
<nowiki>| align="center" | [[Nation]]</nowiki></br> | <nowiki>| align="center" | [[Nation]]</nowiki></br> | ||
− | <nowiki>| | + | <nowiki>|-</nowiki></br> |
<nowiki>|}</nowiki></br> | <nowiki>|}</nowiki></br> | ||
<nowiki>|-</nowiki></br> | <nowiki>|-</nowiki></br> |
Revision as of 21:04, 8 October 2004
Please don't Edit this page All the code you need is visible right here
Generic Infobox instructions
Copy the The Infobox Wiki Code below the line to make your own custom NS Info box. Each line must start with { ! | . Replace any text you see in the box to the right with text of your own choosing. If you need more lines in the table, copy the three lines beginning with |- in whatever style you need, and just paste them in where you want them. The sample nations have been left in for ease of editing and replacing.
- It may take a bit of experimentation, but you'll get it eventually. You probably should keep a copy of your last working version in an offline text editor (like Notepad) just to have something to go back to.
You can also insert image URLs to create an image block. Images should be kept under 300 pixels in width, and will automatically show up if you simply paste in the URL without wiki formatting, as shown below. You can remove the image section if you don't need it, of course.
- You can easily change the colors in the top and bottom block by changing the hex color code. Stick with light pastels for readability, please.
See Page editing or Wikipedia:How to use tables for additional useful information.
The Generic Infobox Wiki Code
Headline Text | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||
{| align="right" border="1" cellpadding="2" width="300" style="margin-left:0.5em;"</br> |- </br> ! style="background:#ffdead" | <big>Headline Text</big> </br> |-</br> |</br> {| border="0" cellpadding="1" width="100%" </br> |-</br> ! align="right" | Bold Text: </br> | '''Big Bold Text Here''' </br> |-</br> ! align="right" | Plain Text: </br> | Plain Text Here </br> |-</br> ! align="right" | Small Text: </br> | <small>Put lots of really tiny text here</small></br> |-</br> ! align="right" | Internal Link: </br> | [[NationStates]] </br> |-</br> ! align="right" | External Link: </br> | [http://www.nationstates.net NationStates] </br> |- </br> |}</br> |-</br> ! style="background:#efefef" border="1" colspan="2" | </br> http://www.maxbarry.com/images/covers/jg_usa_hb_med.jpg</br></small> </nowiki></br> |-</br> |}
The Membership InfoBox Wiki Code
Headline Text | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||
{| align="right" border="1" cellpadding="2" width="300" style="margin-left:0.5em;"</br> |- </br> ! style="background:#f0f8ff" | <big>Headline Text</big> </br> |-</br> |</br> {| border="0" cellpadding="1" width="100%" </br> |-</br> | align="center" | [[The West Pacific]]</br> | align="center" | [[Goobergunchia]]</br> |-</br> | align="center" | [[Knootoss]]</br> | align="center" | [[The East Pacific]]</br> |-</br> | align="center" | [[Nation]]</br> | align="center" | [[Nation]]</br> |-</br> | align="center" | [[Region]]</br> | align="center" | [[Region]]</br> |}</br> {| border="0" cellpadding="1" width="100%" </br> |-</br> | align="center" | [[The Rejected Realms]]</br> |-</br> | align="center" | [[The Nationstates Bunny]]</br> |-</br> | align="center" | [[Region]]</br> |-</br> | align="center" | [[Nation]]</br> |-</br> |}</br> |-</br> ! style="background:#fcfcfc" border="1" colspan="2" | http://flagURL </br> |-</br> |}</br>