Welcome to the
Brooklyn Centre WIKI

Cleveland, Ohio

A Neighborhood Exploration
Currently 301 articles regarding its history


Sandbox

From Brooklyn Centre Wiki

(Difference between revisions)
Jump to: navigation, search
(TWO COLUMNS)
(ADD NEW EDITING BUTTON)
Line 111: Line 111:
==ADD NEW EDITING BUTTON==
==ADD NEW EDITING BUTTON==
 +
 +
1. Create new .png button and upload to /skins/common/images<br>
 +
2. Add new array to /includes/EditPage.php (around line 1683 in version 1.6.10)
 +
 +
See this URL for more detailed instructions:<br>
http://meta.wikimedia.org/wiki/Customizing:Edit_Toolbar
http://meta.wikimedia.org/wiki/Customizing:Edit_Toolbar

Revision as of 19:05, 27 February 2007

Sample Code

Contents


GOOGLEMAP CODE

The following is the correct code for the googlemap extension. The first gives a street map zoomed out enough to give a good idea of where the location is in the general scheme of things. The second is a satellite view zoomed in for better detail.


<googlemap lat="41.455802" lon="-81.700117" type="map" zoom="12" controls="large"> 41.455802, -81.700117, Riverside Cemetery in Cleveland, OH, USA /Info\ 3607 Pearl Rd, Cleveland, OH 44109-2301 /Directions\ [http://maps.google.com Click here] to get driving directions </googlemap> <googlemap lat="41.455802" lon="-81.700117" type="satellite" zoom="16"> 41.455802, -81.700117, Riverside Cemetery in Cleveland, OH, USA </googlemap>

  • Note that the marker is set by the line following the first set of tags.
  • Zoom levels are 0 thru 17.
  • Map types can be 'map', 'satellite', 'hybrid'
  • Controls are 'small', 'medium', or 'large'



BOX CODE

The following is a sample quotebox as is used on this Wiki:

"...the quoted material is entered here and should appear in italics."

--BOOK TITLE by The Distinguished Author's Name

An alternate style:

Quoted material goes here.

Still another boxed text style:

Text within a box is demonstrated here.



IMAGE CODE

[[image:YMCA.jpg|framed|50px|gfx on the right]]
gfx on the right
gfx on the right
[[image:YMCA.jpg|framed|50px|center|gfx centered]]
gfx centered
gfx centered
[[image:YMCA.jpg|framed|50px|left|gfx on the left]]
gfx on the left
gfx on the left
[[image:YMCA.jpg|thumb|gfxthumbnail]]
gfx thumbnail
gfx thumbnail
gfx thumbnail
gfx thumbnail

To use an image from another part of the server and have text wrap around it on the left, code the URL as follows:

<p style="float:right;"> http://zodiacal.com/barbarowa/trees/photos/Fish,%20James%20Sr.jpg </p>


TWO COLUMNS

This is a demonstration of breaking the page up into two columns. The left column will have no background color, whereas the right column will have a light blue and have a slightly smaller text size. The columns are separated by a thin black line (this line does not seem to extend the full length of the second column, however).

This is the left column

Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

This is the right

Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.


ADD NEW EDITING BUTTON

1. Create new .png button and upload to /skins/common/images
2. Add new array to /includes/EditPage.php (around line 1683 in version 1.6.10)

See this URL for more detailed instructions:
http://meta.wikimedia.org/wiki/Customizing:Edit_Toolbar

Personal tools