Help:How do I make tables and columns?

From ENHLDWiki

Jump to: navigation, search

Contents

It's probably best to ask Max (or, secondarily, Dick) to do this until or unless you are experienced. The simple way is to find something you want to emulate and just copy and paste. The draft general info-box for properties can be found (and copied) at Crystal 301 N.

Boxes

For example, the code for one of the boxes on the Main Page is this:

{|style="border-spacing:8px;margin:0px -8px"

|style="width:30%;vertical-align:top"|
{| width="100%" cellpadding="2" cellspacing="5" style="vertical-align:top"

! style="margin:0;border:1px solid #ffccaa;background-color:#fffaf5;padding:0.2em 
0.4em;text-align:left;"|

==General Information==
*[[Personnel]] (Oct. 2007)
*[[Special:Listusers|User Page List]]
*[[ENHLDWiki:Community Portal|Community Portal]]
*[[Thoughts| Thoughts and General Discussion]]
*[[Resources for research]]
*[[What's New?]] • [[To Do List]]
----
*[[Special:Imagelist | Files]]
*[[Grant Application Archive]]
*[[Off Topic]]
|-

|}

which produces this:

General Information


Boxes, version II

Another way to make boxes is to use <div> tags and styles, like this:

<div style="margin:5px;background-color:#f5f5ff;border:1px double green;
text-align:left;color:#000;padding:5px;">Here is a box</div>

which produces this:

Here is a box

Columns

You can make two columns by using this code with just curly brackets {} and the pipe |:

{| valign="top"
| 
* [[Acoma|The Acoma]] 60-64 E. Broadway
* [[U.S. Post Office]]  (Nat'l Register listed)
* [[U.S. Post Office-Anaconda Main, Anaconda]]  (NR listed)
* [[Venus Rising]] 124 S. Main
|
* [[Kelly Building]] (Reginald Block, 75. E. Park)
* [[Washington 230 S.|230 S. Washington]] Virginia Apartments
* [[Washington 315 S.|315 S. Washington]]
* [[Washoe Theater, Anaconda]]  (NR listed)

|} 

which produces this:

Personal tools