Difference between revisions of "NSWiki:GenericInfoBox"

From NSwiki, the NationStates encyclopedia.
Jump to: navigation, search
m (layout)
(Added Generic Membership Infobox)
Line 19: Line 19:
  
  
== The Infobox Wiki Code ==
+
== The Generic Infobox Wiki Code ==
 
{| align="right" border="1" cellpadding="2" width="300" style="margin-left:0.5em;"
 
{| align="right" border="1" cellpadding="2" width="300" style="margin-left:0.5em;"
 
|-  
 
|-  
Line 76: Line 76:
 
<nowiki>|}</nowiki>
 
<nowiki>|}</nowiki>
  
[[Category:Help Pages]]
+
== The Membership InfoBox Wiki Code ==
 +
{| align="right" border="1" cellpadding="2" width="300" style="margin-left:0.5em;"
 +
|-
 +
! style="background:#f0f8ff" | <big>Headline Text</big>
 +
|-
 +
|
 +
{| border="0" cellpadding="1"  width="100%"
 +
|-
 +
| align="center" | [[Nation]]
 +
| align="center" | [[Nation]]
 +
|-
 +
| align="center" | [[Nation]]
 +
| align="center" | [[Nation]]
 +
|-
 +
| align="center" | [[Nation]]
 +
| align="center" | [[Nation]]
 +
|-
 +
| align="center" | [[Nation]]
 +
| align="center" | [[Nation]]
 +
|}
 +
|-
 +
! style="background:#fcfcfc" border="1" colspan="2" | http://www.nationstates.net/images/jg_new.gif
 +
|-
 +
|}
 +
<nowiki>{| align="right" border="1" cellpadding="2" width="300" style="margin-left:0.5em;"</nowiki></br>
 +
<nowiki>|- </nowiki></br>
 +
<nowiki>! style="background:#f0f8ff" | <big>Headline Text</big> </nowiki></br>
 +
<nowiki>|-</nowiki></br>
 +
<nowiki>|</nowiki></br>
 +
<nowiki>{| border="0" cellpadding="1"  width="100%" </nowiki></br>
 +
<nowiki>|-</nowiki></br>
 +
<nowiki>| align="center" | [[Nation]]</nowiki></br>
 +
<nowiki>| align="center" | [[Nation]]</nowiki></br>
 +
<nowiki>|-</nowiki></br>
 +
<nowiki>| align="center" | [[Nation]]</nowiki></br>
 +
<nowiki>| align="center" | [[Nation]]</nowiki></br>
 +
<nowiki>|-</nowiki></br>
 +
<nowiki>| align="center" | [[Nation]]</nowiki></br>
 +
<nowiki>| align="center" | [[Nation]]</nowiki></br>
 +
<nowiki>|-</nowiki></br>
 +
<nowiki>| align="center" | [[Nation]]</nowiki></br>
 +
<nowiki>| align="center" | [[Nation]]</nowiki></br>
 +
<nowiki>|}</nowiki></br>
 +
<nowiki>|-</nowiki></br>
 +
<nowiki>! style="background:#fcfcfc" border="1" colspan="2" | http://flagURL </nowiki></br>
 +
<nowiki>|-</nowiki></br>
 +
<nowiki>|}</nowiki></br>

Revision as of 19:53, 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.


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 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 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
Bold Text: Big Bold Text Here
Plain Text: Plain Text Here
Small Text: Put lots of really tiny text here
Internal Link: NationStates
External Link: NationStates
jg_usa_hb_med.jpg

{| 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
Nation Nation
Nation Nation
Nation Nation
Nation Nation
jg_new.gif

{| 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" | [[Nation]]</br> | align="center" | [[Nation]]</br> |-</br> | align="center" | [[Nation]]</br> | align="center" | [[Nation]]</br> |-</br> | align="center" | [[Nation]]</br> | align="center" | [[Nation]]</br> |-</br> | align="center" | [[Nation]]</br> | align="center" | [[Nation]]</br> |}</br> |-</br> ! style="background:#fcfcfc" border="1" colspan="2" | http://flagURL </br> |-</br> |}</br>