Difference between revisions of "NSWiki:GenericInfoBox"

From NSwiki, the NationStates encyclopedia.
Jump to: navigation, search
m (categorized)
(hdr caps; fixing code)
 
(13 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<big>Please don't Edit this page
+
{{NSwiki meta toc}}
+
All the code you need is visible right here</big>
+
 
== 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]].   
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.   
+
 
 +
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.  The sample [[nation]]s have been left in for ease of editing and replacing.
  
  
Line 10: Line 9:
  
  
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 16: Line 15:
  
  
See [[NSwiki:Page editing|Page editing]] or [[Wikipedia:How to use tables]] for additional useful information.
+
See [[NSwiki:Page editing|Page editing]] or [[Wikipedia:Wikipedia:How_to_use_tables|How to use tables]] for additional useful information.
  
  
== The Generic 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 47: Line 46:
 
|-
 
|-
 
|}
 
|}
<nowiki>{| align="right" border="1" cellpadding="2" width="300" style="margin-left:0.5em;"</nowiki></br>
+
<nowiki>{| align="right" border="1" cellpadding="2" width="300" style="margin-left:0.5em;"</nowiki><br />
<nowiki>|- </nowiki></br>
+
<nowiki>|- </nowiki><br />
<nowiki>! style="background:#ffdead" | <big>Headline Text</big> </nowiki></br>
+
<nowiki>! style="background:#ffdead" | <big>Headline Text</big> </nowiki><br />
<nowiki>|-</nowiki></br>
+
<nowiki>|-</nowiki><br />
<nowiki>|</nowiki></br>
+
<nowiki>|</nowiki><br />
<nowiki>{| border="0" cellpadding="1"  width="100%" </nowiki></br>
+
<nowiki>{| border="0" cellpadding="1"  width="100%" </nowiki><br />
<nowiki>|-</nowiki></br>
+
<nowiki>|-</nowiki><br />
<nowiki>! align="right" | Bold Text: </nowiki></br>
+
<nowiki>! align="right" | Bold Text: </nowiki><br />
<nowiki>| '''Big Bold Text Here''' </nowiki></br>
+
<nowiki>| '''Big Bold Text Here''' </nowiki><br />
<nowiki>|-</nowiki></br>
+
<nowiki>|-</nowiki><br />
<nowiki>! align="right" | Plain Text: </nowiki></br>
+
<nowiki>! align="right" | Plain Text: </nowiki><br />
<nowiki>| Plain Text Here </nowiki></br>
+
<nowiki>| Plain Text Here </nowiki><br />
<nowiki>|-</nowiki></br>
+
<nowiki>|-</nowiki><br />
<nowiki>! align="right" | Small Text: </nowiki></br>
+
<nowiki>! align="right" | Small Text: </nowiki><br />
<nowiki>| <small>Put lots of really tiny text here</small></nowiki></br>
+
<nowiki>| <small>Put lots of really tiny text here</small></nowiki><br />
<nowiki>|-</nowiki></br>
+
<nowiki>|-</nowiki><br />
<nowiki>! align="right" | Internal Link: </nowiki></br>
+
<nowiki>! align="right" | Internal Link: </nowiki><br />
<nowiki>| [[NationStates]] </nowiki></br>
+
<nowiki>| [[NationStates]] </nowiki><br />
<nowiki>|-</nowiki></br>
+
<nowiki>|-</nowiki><br />
<nowiki>! align="right" | External Link: </nowiki></br>
+
<nowiki>! align="right" | External Link: </nowiki><br />
<nowiki>| [http://www.nationstates.net NationStates] </nowiki></br>
+
<nowiki>| [http://www.nationstates.net NationStates] </nowiki><br />
<nowiki>|- </nowiki></br>
+
<nowiki>|- </nowiki><br />
<nowiki>|}</nowiki></br>
+
<nowiki>|}</nowiki><br />
<nowiki>|-</nowiki></br>
+
<nowiki>|-</nowiki><br />
<nowiki>! style="background:#efefef" border="1" colspan="2" | </nowiki></br>
+
<nowiki>! style="background:#efefef" border="1" colspan="2" | </nowiki><br />
<nowiki>http://www.maxbarry.com/images/covers/jg_usa_hb_med.jpg</nowiki></br></small> </nowiki></br>
+
<nowiki>http://www.maxbarry.com/images/covers/jg_usa_hb_med.jpg</nowiki><br />
<nowiki>|-</nowiki></br>
+
<nowiki>|-</nowiki><br />
 
<nowiki>|}</nowiki>
 
<nowiki>|}</nowiki>
  
== The Membership InfoBox Wiki Code ==
+
== The Membership InfoBox wiki code ==
{| align="right" border="1" cellpadding="2" width="300" style="margin-left:0.5em;"
+
This is a much simpler table that can be easily modified by the casual Wiki editor.  It basically consists of three columns centered across the width of the page.  Placing the '''<nowiki>| width="33%" |</nowiki>''' on a separate line splits the columns, and you can make it two or four columns equally easily (''but change the width per column to 50% and 25% respectively'').  Three columns accomodates even the longest nation or region names on most browser settings.
|-
+
 
! style="background:#f0f8ff" | <big>Headline Text</big>
+
Cut and paste this as a separate section for best results. Be sure to leave the asterisks in place or the whole thing collapses.
|-
+
== Member Regions ==
|
+
<!-- Please keep entries in Alphabetic order, and evenly distributed among the three sections. -->
{| border="0" cellpadding="1"  width="100%"  
+
{| border="0" width="100%" cellpadding="2" style="margin:0.5em;" align="center"
|-
+
| width="33%" |
| align="center" | [[Nation]]
+
*[[Region]]
| align="center" | [[Nation]]
+
*[[Region]]
|-
+
*[[Region]]
| align="center" | [[Nation]]
+
*
| align="center" | [[Nation]]
+
| width="33%" |
|-
+
*[[Region]]
| align="center" | [[Nation]]
+
*[[Region]]
| align="center" | [[Nation]]
+
*[[Region]]
|-
+
*[[Region]]
| align="center" | [[Nation]]
+
| width="33%" |
| align="center" | [[Nation]]
+
*[[Region]]
|}
+
*[[Region]]
|-
+
*[[Region]]
! 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>== Member regions ==</nowiki><br>
<nowiki>! style="background:#f0f8ff" | <big>Headline Text</big> </nowiki></br>
+
<nowiki><!-- Please keep entries in Alphabetic order, and evenly distributed among the three sections. --></nowiki><br>
<nowiki>|-</nowiki></br>
+
<nowiki>{| border="0" width="100%" cellpadding="2" style="margin:0.5em;" align="center"</nowiki><br>
<nowiki>|</nowiki></br>
+
<nowiki>| width="33%" |</nowiki><br>
<nowiki>{| border="0" cellpadding="1" width="100%" </nowiki></br>
+
<nowiki>*[[Region]]</nowiki><br>
<nowiki>|-</nowiki></br>
+
<nowiki>*[[Region]]</nowiki><br>
<nowiki>| align="center" | [[Nation]]</nowiki></br>
+
<nowiki>*[[Region]]</nowiki><br>
<nowiki>| align="center" | [[Nation]]</nowiki></br>
+
<nowiki>*</nowiki><br>
<nowiki>|-</nowiki></br>
+
<nowiki>| width="33%" |</nowiki><br>
<nowiki>| align="center" | [[Nation]]</nowiki></br>
+
<nowiki>*[[Region]]</nowiki><br>
<nowiki>| align="center" | [[Nation]]</nowiki></br>
+
<nowiki>*[[Region]]</nowiki><br>
<nowiki>|-</nowiki></br>
+
<nowiki>*[[Region]]</nowiki><br>
<nowiki>| align="center" | [[Nation]]</nowiki></br>
+
<nowiki>*[[Region]]</nowiki><br>
<nowiki>| align="center" | [[Nation]]</nowiki></br>
+
<nowiki>| width="33%" |</nowiki><br>
<nowiki>|-</nowiki></br>
+
<nowiki>*[[Region]]</nowiki><br>
<nowiki>| align="center" | [[Nation]]</nowiki></br>
+
<nowiki>*[[Region]]</nowiki><br>
<nowiki>| align="center" | [[Nation]]</nowiki></br>
+
<nowiki>*[[Region]]</nowiki><br>
<nowiki>|}</nowiki></br>
+
<nowiki>*</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>
+
  
[[Category:Help Pages]]
+
[[Category:NS MetaWiki|{{PAGENAME}}]]
 +
[[Category:Help pages|{{PAGENAME}}]]
 +
__NOTOC__

Latest revision as of 01:44, 19 July 2005

Community Portal


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 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;"
|-
! style="background:#ffdead" | <big>Headline Text</big>
|-
|
{| border="0" cellpadding="1" width="100%"
|-
! align="right" | Bold Text:
| '''Big Bold Text Here'''
|-
! align="right" | Plain Text:
| Plain Text Here
|-
! align="right" | Small Text:
| <small>Put lots of really tiny text here</small>
|-
! align="right" | Internal Link:
| [[NationStates]]
|-
! align="right" | External Link:
| [http://www.nationstates.net NationStates]
|-
|}
|-
! style="background:#efefef" border="1" colspan="2" |
http://www.maxbarry.com/images/covers/jg_usa_hb_med.jpg
|-
|}

The Membership InfoBox wiki code

This is a much simpler table that can be easily modified by the casual Wiki editor. It basically consists of three columns centered across the width of the page. Placing the | width="33%" | on a separate line splits the columns, and you can make it two or four columns equally easily (but change the width per column to 50% and 25% respectively). Three columns accomodates even the longest nation or region names on most browser settings.

Cut and paste this as a separate section for best results. Be sure to leave the asterisks in place or the whole thing collapses.

Member Regions


== Member regions ==
<!-- Please keep entries in Alphabetic order, and evenly distributed among the three sections. -->
{| border="0" width="100%" cellpadding="2" style="margin:0.5em;" align="center"
| width="33%" |
*[[Region]]
*[[Region]]
*[[Region]]
*
| width="33%" |
*[[Region]]
*[[Region]]
*[[Region]]
*[[Region]]
| width="33%" |
*[[Region]]
*[[Region]]
*[[Region]]
*
|}