Template:Occupy Portland Event: Difference between revisions
(first draft) |
(Undo revision 17445 by that caused *crazy* bad things to happen) |
||
(36 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
<div style="border: 1px solid #aac; border-radius: 5px; background: # | <div style="border: 1px solid #aac; border-left: 2px solid #a22; border-radius: 5px; background: #fff; margin-bottom: 10px; padding: 0 8px 5px;"> | ||
=={{{event name}}}== | {{==}}{{{event name}}}{{==}} | ||
{{#if:{{{page|}}}|<span class="plainlinks editsection"><nowiki>[</nowiki>[{{fullurl:{{{page}}}|action=edit}} improve]<nowiki>]</nowiki></span>}} | |||
{{#if:{{{image|}}}|{{{image}}}}} | {{#if:{{{image|}}}|{{{image}}}}} | ||
* Date: '''{{{date}}}''' | {{#if:{{{date|}}}|* Date: '''{{{date}}} '''}} | ||
* Time: '''{{{time}}}''' | {{#if:{{{time|}}}|* Time: '''{{{time}}} '''}} | ||
* Location: '''{{{location}}}''' | {{#if:{{{location|}}}|* Location: '''{{{location}}} '''}} | ||
{{#if:{{{page|}}}|* Jump to this event's [[{{{page}}}|wiki page]], <span class="plainlinks">[{{fullurl:{{{page}}}|action=edit}} edit it]</span>, [[Talk:{{{page}}}|discuss it]]}} or return to the [[Occupy Portland Events|events]] page. | |||
<big>'''Purpose'''</big><br /> | <big>'''Purpose'''</big><br /> | ||
{{{purpose}}} | {{{purpose}}} | ||
{{#if:{{{other details|}}}|<br /><br /><big>'''Other details'''</big | {{#if:{{{other details|}}}|<br /><br /><big>'''Other details'''</big><br />{{{other details}}}}}{{#if:{{{link to more info|}}}|<br /><br />'''[{{{link to more info}}} more information]'''}} | ||
</div> | {{clear}}{{#if:{{{categories|}}}|{{{categories}}}}}</div> | ||
<noinclude> | <noinclude>{{RightTOC}} | ||
== How to use this template == | == How to use this template == | ||
'''<big>1. Copy this code and paste it into your events page:</big>''' | |||
<pre>{{Occupy Portland Event | <pre>{{Occupy Portland Event | ||
| event name = | | event name = | ||
| page = | |||
| date = | | date = | ||
| time = | | time = | ||
Line 24: | Line 27: | ||
| other details = | | other details = | ||
| link to more info = | | link to more info = | ||
| categories = | |||
}}</pre> | }}</pre> | ||
'''<big>2. Add details of your event as shown in the example below:</big>''' | |||
====event name==== | ====event name==== | ||
The name of the event. | The name of the event. | ||
:Example: '''Hawthorne Street Bank Protests''' | : Example: '''Hawthorne Street Bank Protests''' | ||
====page==== | |||
Optional: the name of the page for the event. | |||
: Example: '''Hawthorne Street Bank Protests 10 31 2011''' | |||
This makes it easier for people to jump to, and edit, your event page. | |||
====date==== | ====date==== | ||
The date of the event. | The date of the event. | ||
:Example: '''October 31st through November 4th''' | : Example: '''October 31st through November 4th''' | ||
====time==== | ====time==== | ||
The time of the event. | The time of the event. | ||
:Example: '''10am - 6:30pm''' | : Example: '''10am - 6:30pm''' | ||
====location==== | ====location==== | ||
Where the event will be. | Where the event will be. | ||
:Example: '''Bank of America, Wells Fargo, and Chase banks at 3757 SE Hawthorne Blvd.''' | : Example: '''Bank of America, Wells Fargo, and Chase banks at 3757 SE Hawthorne Blvd.''' | ||
====purpose==== | ====purpose==== | ||
Line 47: | Line 59: | ||
====image==== | ====image==== | ||
Optional. If you have an image you want to use to accompany the event listing, [[Special:Upload|upload it to PortlandWiki]] (freely licensed images only please) and then use the following syntax. | Optional. If you have an image you want to use to accompany the event listing, [[Special:Upload|upload it to PortlandWiki]] (freely licensed images only please) and then use the following syntax. | ||
:Example: '''<nowiki>[[File:Join the revolution 2.jpg | thumb | right | Bank crime shouldn't pay.]]</nowiki>''' | : Example: '''<nowiki>[[File:Join the revolution 2.jpg | thumb | right | Bank crime shouldn't pay.]]</nowiki>''' | ||
====other details==== | ====other details==== | ||
Line 54: | Line 66: | ||
====link to more info==== | ====link to more info==== | ||
Optional. If somewhere has more information on the event, link it up here! | Optional. If somewhere has more information on the event, link it up here! | ||
:Example: '''<nowiki>http:// | : Example: '''<nowiki>http://MoveYourMoneyProject.org</nowiki>''' | ||
===categories=== | |||
Optional. Insert relevant categories here, using the example syntax below. The following example would be for an Occupy Portland protest with the [[Bike Swarm]]. | |||
: Example: '''<nowiki>[[Category:Bike Swarm]] [[Category:Occupy Portland Events]] [[Category:Protests]]</nowiki>''' | |||
Note: if you are using '''<nowiki>[[Category:Occupy Portland Events]]</nowiki>''', you don't need to use '''<nowiki>[[Category:Occupy Portland]]</nowiki>''' or '''<nowiki>[[Category:Events]]</nowiki>''', because '''Category:Occupy Portland Events''' is already a subcategory of both. | |||
====Example template ==== | |||
{{Occupy Portland Event | |||
| event name = Scooby | |||
| page = Scooby | |||
| date = Now | |||
| time = Now | |||
| location = Here | |||
| purpose = Obvious? | |||
| image = | |||
| other details = | |||
| link to more info = http://Scooby.com | |||
| categories = | |||
}} | |||
[[Category:Occupy Portland Templates]] | |||
</noinclude> | </noinclude> |
Latest revision as of 18:19, 13 January 2012
How to use this template
1. Copy this code and paste it into your events page:
{{Occupy Portland Event | event name = | page = | date = | time = | location = | purpose = | image = | other details = | link to more info = | categories = }}
2. Add details of your event as shown in the example below:
event name
The name of the event.
- Example: Hawthorne Street Bank Protests
page
Optional: the name of the page for the event.
- Example: Hawthorne Street Bank Protests 10 31 2011
This makes it easier for people to jump to, and edit, your event page.
date
The date of the event.
- Example: October 31st through November 4th
time
The time of the event.
- Example: 10am - 6:30pm
location
Where the event will be.
- Example: Bank of America, Wells Fargo, and Chase banks at 3757 SE Hawthorne Blvd.
purpose
A few sentences describing the purpose of the event. More concise is usually better.
image
Optional. If you have an image you want to use to accompany the event listing, upload it to PortlandWiki (freely licensed images only please) and then use the following syntax.
- Example: [[File:Join the revolution 2.jpg | thumb | right | Bank crime shouldn't pay.]]
other details
Optional. If you have anything to add that doesn't fit in the rest, put it here.
link to more info
Optional. If somewhere has more information on the event, link it up here!
- Example: http://MoveYourMoneyProject.org
categories
Optional. Insert relevant categories here, using the example syntax below. The following example would be for an Occupy Portland protest with the Bike Swarm.
- Example: [[Category:Bike Swarm]] [[Category:Occupy Portland Events]] [[Category:Protests]]
Note: if you are using [[Category:Occupy Portland Events]], you don't need to use [[Category:Occupy Portland]] or [[Category:Events]], because Category:Occupy Portland Events is already a subcategory of both.
Example template
Scooby
[improve]
- Date: Now
- Time: Now
- Location: Here
- Jump to this event's wiki page, edit it, discuss it or return to the events page.
Purpose
Obvious?
more information