Template:Occupy Portland Event: Difference between revisions

From PortlandWiki
Jump to navigation Jump to search
(make location, date, and time optional)
(Undo revision 17445 by that caused *crazy* bad things to happen)
 
(14 intermediate revisions by 4 users not shown)
Line 6: Line 6:
{{#if:{{{time|}}}|* Time: '''{{{time}}} '''}}
{{#if:{{{time|}}}|* Time: '''{{{time}}} '''}}
{{#if:{{{location|}}}|* Location: '''{{{location}}} '''}}
{{#if:{{{location|}}}|* Location: '''{{{location}}} '''}}
{{#if:{{{page|}}}|* Jump to <span class="plainlinks">[{{fullurl:{{{page}}}|action=edit}} edit] this event's [[{{{page}}}|page]]</span>}}
{{#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 />
Line 12: Line 12:
{{{purpose}}}
{{{purpose}}}
{{#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]'''}}
{{#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]'''}}
{{clear}}</div>
{{clear}}{{#if:{{{categories|}}}|{{{categories}}}}}</div>


<noinclude>__NOTOC__
<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>'''
'''<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 =
| page =  
| date =  
| date =  
| time =  
| time =  
Line 27: Line 27:
| other details =  
| other details =  
| link to more info =  
| link to more info =  
| categories =
}}</pre>
}}</pre>


Line 67: Line 68:
: Example: '''<nowiki>http://MoveYourMoneyProject.org</nowiki>'''
: 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]]
[[Category:Occupy Portland Templates]]
[[Category:Occupy Portland Templates]]
</noinclude>
</noinclude>

Latest revision as of 19:19, 13 January 2012

{{{event name}}}

or return to the events page.

Purpose

{{{purpose}}}


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]

Purpose

Obvious?

more information