Sandbox: Difference between revisions

From Noisebridge
Jump to navigation Jump to search
No edit summary
m (→‎top: test template)
 
(32 intermediate revisions by 15 users not shown)
Line 1: Line 1:
__NOTOC__ __NOEDITSECTION__
Test edit.
''Noisebridge is an infrastructure provider for technical-creative projects, collaboratively run by its members. We are incorporated as a non-profit educational corporation for public benefit.'' [[Noisebridge_Vision|Read more about Noisebridge...]]


{| align="center" width="800px" cellspacing="0" cellpadding="0" style="margin:6px auto;padding:0px;font-size:100%;background-color:#f1f1f1;"
==WeeklyEvents: Module/Template/Use==
|style="border-left:1px solid #990000;border-top:1px solid #990000;border-right:1px solid #990000;"|[[Image:Wikibanner-goto-2169.png|link=Getting_Here]]||width="16px" style="background:#ffffff;"| ||style="border-left:1px solid #990000;border-top:1px solid #990000;border-right:1px solid #990000;"|[[Image:Wikibanner-get-involved.png|link=:Category:Events]]||width="16px" style="background:#ffffff;"| ||style="border-left:1px solid #990000;border-top:1px solid #990000;border-right:1px solid #990000;"|[[Image:Wikibanner-help-out.png|link=Donate_or_Pay_Dues]]
Mtgs: {{WeeklyEventLinks|prefix=Meeting Notes|text_prev=Last|text_next=Next}}
|-valign="top"
 
|style="padding:0px 6px 3px 6px;border-left:1px solid #990000;border-bottom:1px solid #990000;border-right:1px solid #990000;"|We're located at:<br><center>'''[[Getting Here|2169 Mission St]], San Francisco'''<br>[http://www.openstreetmap.org/?mlat=37.762352&mlon=-122.419372&zoom=16 OpenStreetMap] - [http://maps.google.com/?q=2169+Mission+Street,+94110 Google Maps]</center>2 blocks South of [[Getting_Here#Getting_Here_by_BART | 16th & Mission BART]]<br>||width="16px" style="background:#ffffff;"| ||style="padding:0px 6px 3px 6px;border-left:1px solid #990000;border-bottom:1px solid #990000;border-right:1px solid #990000;"|<ul><li>[[:Category:Events|Participate in Events and Classes]]</li><li>[[Resources|Make Stuff, Build Things]]</li><li>[[Mailinglist|Join the Noisebridge mailing list]]</li><li>[[IRC|Chat with others over IRC]]</li></ul>||width="16px" style="background:#ffffff;"| ||style="padding:0px 6px 3px 6px;border-left:1px solid #990000;border-bottom:1px solid #990000;border-right:1px solid #990000;"|<ul><li>[[Noisebridge Membership|Become a member]]!</li><li>[[New Member FAQ]]!</li><li>[[Donate or Pay Dues|How to Donate money or Pay Membership Dues]]!</li></ul>
==Notes gathered at a single position==
|}
Note: This method will only work if you have installed the [[mw:Extension:Cite|Cite Extension]].
 
This method gathers the notes at a single position marked with the
<nowiki><references/></nowiki> tag.  If used multiple times, only the first works.
 
* <code>&lt;ref&gt;</code>Reference text<code>&lt;/ref&gt;</code>
*: Produces a reference mark linking to the reference text, provided that the tag <code>&lt;references/&gt;</code> mentioned below is present on the page.
* <code>&lt;ref name="</code>''id''<code>"&gt;</code>Reference text<code>&lt;/ref&gt;</code>
*: Ditto; also assigns a name to the reference text; the quotes are only needed if ''id'' contains spaces or special characters.
* <code>&lt;ref name="</code>''id''<code>"/&gt;</code>
*: Produces a reference mark linking to a reference text defined before.
* <code>&lt;references/&gt;</code>
*: Inserts a list of reference texts, each preceded by a list of links to the positions in the page linking to the text; this applies for all texts inside <code>&lt;ref&gt;</code> tags in the wikitext of the page.
 
===Multiple insertion of the same reference===
[[mw:Extension:Cite]]:
 
References may be cited more than once using <code>&lt;ref name="</code>''id''<code>"/&gt;</code>.
On the Edit page, this is placed at the first insertion point of citation:<br />
 
:'''<nowiki><ref name="Perry">Perry's Handbook, Sixth Edition, McGraw-Hill Co., 1984.</ref></nowiki>'''
 
This is placed at the second insertion point of citation:<br>
:'''<nowiki><ref name="Perry"/></nowiki>'''
 
This is placed at the third insertion point of citation:<br>
:'''<nowiki><ref name="Perry"/></nowiki>''' ..... and so forth for further insertion points<br><br>
 
===Single insertion of a reference===
 
For the single insertion of a reference, the "name" parameter is not needed. On the Edit page, this is placed at the insertion point of citation:<br>
 
:'''<nowiki><ref>Excel For Dummies, First Edition, Hungry Minds, Inc., 1980.</ref></nowiki>'''
 
To have the reference depend on a parameter, use e.g.::
 
:<nowiki>{{#tag:ref|...{{tc}}...{{{1}}}...}}</nowiki> giving {{#tag:ref|...{{tc}}...{{{1}}}...}}
 
===What is produced at the points of insertion===
 
The '''<nowiki><ref></nowiki>''' tags in the main text are converted to auto-numbered superscripts, like this:
 
{|class=wikitable
|
:The only reference to Excel For Dummies.<ref>Excel For Dummies, First Edition, Hungry Minds, Inc., 1980.</ref>
 
:The first reference to Perry's Handbook.<ref name="Perry">Perry's  Handbook, Sixth Edition, McGraw-Hill Co., 1984.</ref>
 
:The second reference to Perry's Handbook.<ref name="Perry"/>&nbsp;&nbsp;&nbsp;
 
:The third reference to Perry's Handbook.<ref name="Perry"/>
 
:{{Help:Footnotes/demo/ref}}


{| align="center" width="800px" cellpadding="3" style="color:#000000;border:solid 1px #990000;background-color:#f1f1f1;padding:6px;margin:6px auto;"
|-valign="top"
|width="50%"|<big><big><strong>Tonight at Noisebridge</strong></big></big>
<strong>[[Meeting Notes 2009 12 01 |Weekly Member Meeting]]</strong>.  All are welcome to attend.<br><br>
||<big><big><strong>Board Member Elections (2009)</strong></big></big><br>'''Board Elections''' are '''December 8''', nominations close '''December 1'''.  For more information:<ul><li>[[2009 Board Nominees]]</li><li>[[2009 Director Elections]]</li></ul>
|}
|}
[[Image:Noisebridge tools.jpg|thumb|right|A space to learn and create neat things]]
[[Image:2169mission.jpg|thumb|right|Front door to NEW space at 2169 Mission]]
[[Image:Noisebridge_Soldering_Workshop.jpg|thumb|right|Soldering workshop at Noisebridge]]
[[Image:Noisebridge air.jpg|thumb|right|Members at Noisebridge]]
[[Image:Skittlevodka.jpg|thumb|right|Hacking, it's more than just electronics]]
[[Image:Starfive - q's noisebridge project.jpg|thumb|right|Craft hacking]]
== Events and Classes ==
'''[[:Category:Events|Full Event Listing]]''' | '''[http://www.google.com/calendar/embed?src=vo3i3c0qtjnkjr2ojasd0ftt8s%40group.calendar.google.com&ctz=America/Los_Angeles Unofficial Google Calendar]'''
<!--
***Note*** the Upcoming Events Calendar is not written here. Instead, it is written on Category:Events and transcluded here. This consolidates the 2 pages. :-)
Write your event on https://www.noisebridge.net/wiki/Category:Events
-->{{:Category:Events}}


Want to host your event at Noisebridge? We like seeing classes and talks on interesting things pertaining to wide subject of hacking. Most of all we like seeing familiar faces, please participate in the space and our [[Noisebridge#Meetings|weekly Tuesday meetings]] to see if we're the right audience for what you want to share before announcing a new event. Additionally here are some [[Hosting an Event]] tips.
Clicking on a numbered superscript takes you straight to the text of the corresponding footnote or reference.


== Info ==
===Producing the reference or footnote list===
[[Getting Here]]: We're at 2169 Mission Street between 17th Street and 18th Street in San Francisco's Mission district, on the third floor. [http://openstreetmap.org/?mlat=37.762352&mlon=-122.419372&zoom=16 openstreetmap] [http://maps.google.com/?q=2169+mission+St,+94103 Google Maps]
The '''<nowiki><references/></nowiki>''' tag is expanded to show the text of the footnotes or references against their corresponding numbers, like this:


[[Planet Noisebridge]]: [https://www.noisebridge.net/planet/ Our blog aggregation service].
{|class=wikitable
|
<references/>
|}


[[The Space]]: Home sweet home (including our network drops [[Network]]).
For single citations, clicking on the caret (<font color=blue>'''^'''</font>) takes you to the point of citation in the main text.


[[The Neighborhood]]: Nearby restaurants and other businesses.  
For multiple citations, the links back to the main text can be distinguished in various ways, depending on [[MediaWiki:Cite references link many format]] and [[MediaWiki:Cite references link many format backlink labels]]: the default is to have double-numerical superscripts, e.g. 2.0, 2.1, .. for the second reference, while on Meta and the English Wikipedia we have letters instead of a second number (a instead of 0, b instead of 1, c instead of 2, etc.), and without repeating the reference number. Clicking on a link takes you to the corresponding citation in the main text.


[[Noisebridge_Vision|Vision]]: Our vision - what our space is all about!
You may also use a slightly different format if desired, like this:  


[[Safety|Safety in the Space]]: What to do in case of an emergency.
<nowiki>== Example reference section ==</nowiki><br />
&lt;div class="references-small">
&lt;references />
&lt;/div>


[[Resources]]: Stuff we provide -- servers, bulk parts orders from Digikey/McMaster/Mouser, project spaces, specialized tools.
to generate the example section on [[help:Footnotes/example 1]].


[[Library]]: Information pertaining to projects we're working on.
===Notes on the Cite.php method===


[[Concepts]]: A place to share your project ideas and to find like-minds.
* Clicking on the blue superscript <font color="blue">1.0</font> causes the screen display to scroll back up to the point where the first  reference to Perry's Handbook was inserted. Clicking on the blue superscript <font color=blue>1.1</font> causes the screen display to scroll back up to the point where the second reference to Perry's Handbook was inserted. Clicking on the blue superscript <font color=blue>1.2</font> causes the screen display to scroll back up to the point where the the third reference to Perry's Handbook was inserted ... and so forth.


[[Donate or Pay Dues]]: Here is where you can see how easy it is to Donate to Noisebridge or to pay your monthly Membership Dues.
* Clicking on any vertical arrow (<font color="blue">↑</font>) that has no associated superscripts causes the screen display to scroll back up to the point where that single-use references was inserted.


[[House Keeping]]: Information on Housekeeping.
==Notes at independent positions==


[[Identity]]: Logos, stickers, t-shirts and stuff.
The systems below require a note tag with id for each note, but they allow the position of each footnote text to be chosen independently. For example, footnotes in a table or section can be put at the bottom of the table or section.


[[Press Coverage]]: mentions of Noisebridge in the media (both blog and dead tree).
=Extensions=
[[Special:Version]]
==Graphs==
Extension '''[[mwe:Graph]]''', with guide at '''[[mwe:Graph/Guide]]''' for writing and modifying graphs, including pulling data from tables for the graph -- especially valuable for avoiding duplicate copies of data (even on the same page) that skew out of date.


[[Hackerspace Infos]]: Howtos, Background, and friendly Hackerspaces elsewhere.
===example===
https://www.mediawiki.org/wiki/Extension:Graph/Demo/HorizontalBarGraphSample


[[Board and Officers]]: Information about our formal organization.
<graph>
{
  "version": 2, "width": 400, "height": 400,
  "padding": {"top": 10, "left": 30, "bottom": 30, "right": 10},
  "data": [
    {
      "name": "table",
      "values": [
        {"t": "a", "v": 28}, {"t": "b", "v": 55},
        {"t": "c", "v": 43}, {"t": "d", "v": 91},
        {"t": "e", "v": 81}, {"t": "f", "v": 53},
        {"t": "g", "v": 19}, {"t": "h", "v": 87},
        {"t": "i", "v": 52}, {"t": "j", "v": 48},
        {"t": "k", "v": 24}, {"t": "l", "v": 49},
        {"t": "m", "v": 87}, {"t": "n", "v": 66},
        {"t": "o", "v": 17}, {"t": "p", "v": 27},
        {"t": "q", "v": 68}, {"t": "r", "v": 16},
        {"t": "s", "v": 49}, {"t": "t", "v": 15}
      ]
    }
  ],
  "scales": [
    {
      "name": "x",
      "range": "width",
      "domain": {"data": "table", "field": "v"}
    },
    {
      "name": "y",
      "range": "height",
      "type": "ordinal",
      "domain": {"data": "table", "field": "t"}
    }
  ],
  "axes": [
    {"type": "x", "scale": "x"},
    {"type": "y", "scale": "y"}
  ],
  "marks": [
    {
      "type": "rect",
      "from": {"data": "table"},
      "properties": {
        "enter": {
          "y": {"scale": "y", "field": "t"},
          "height": {"scale": "y", "band": true, "offset": -1},
          "x": {"scale": "x", "value": 0},
          "x2": {"scale": "x", "field": "v"}
        },
        "update": {
          "fill": {"value": "steelblue"}
        },
        "hover": {
          "fill": {"value": "red"}
        }
      }
    }
  ]
}
</graph>
===interactive?===
https://www.mediawiki.org/wiki/Extension:Graph/Interactive_Graph_Tutorial
<graph mode=interactive>
{
  // We want to use Vega 2, and specify image size
  "version": 2, "width": 300, "height": 30,
  // Set padding to the same value on all sides
  "padding": 12,
  // By default the background is transparent
  "background": "#edf1f7",
  "marks": [
    {
      // Draw a horizontal line
      "name": "scrollLine",
      "type": "rule",
      "properties": {
        "enter": {
          "x": {"value": 0},
          "y": {"value": 15},
          "x2": {"value": 300},
          "stroke": {"value": "#000"},
          "strokeWidth": {"value": 2}
        }
      }
    },
    {
      // Draw a triangle shape with a hover effect
      // naming objects allows us to reference them later
      "name": "handle",
      "type": "path",
      "properties": {
        "enter": {
          "x": {"value": 200},
          "y": {"value": 15},
          // path syntax is the same as SVG's path tag
          "path": {"value": "m-5.5,-10l0,20l11.5,-10l-11.5,-10z"},
          "stroke": {"value": "#880"},
          "strokeWidth": {"value": 2.5}
        },
        "update": {"fill": {"value": "#fff"}},
        // Change fill color of the object on mouse hover
        "hover": {"fill": {"value": "#88f"}}
      }
    }
  ]
}
</graph>


== Meetings ==
'''Meetings every Tuesday at 8 PM US/Pacific at [[Getting Here (2169)|2169 Mission St., San Francisco]]''' This meeting is for members and non-members alike, everyone is welcome. Agenda items tend to typically include introductions, updates on projects happening in the space and upcoming events. Meetings normally end with general socializing and in depth discussion of any topics brought up earlier. We try to keep the formal part under 1 hour and socialize the rest of the evening.
* Prev: [[Meeting Notes 2009 11 24 | 2009-11-24]]
* Next: [[Meeting Notes 2009 12 01 | 2009-12-01]]
* ... (more in the [[:Category:Meeting Notes|Meeting Notes Archive]])


== Get in Touch ==
== Trying Calendars ==
* '''Press: Please see our [[Press Kit]] - Includes press contacts, pictures, background info, etc.'''
=== [[mwe:MsCalendar]] ===
* [[IRC|IRC channel]] - irc://chat.freenode.net/#noisebridge
It doesn't have to be this one, and it may still not work. Someone wants to build the hairball.
* [[Mailinglist]] - Best way to keep informed of upcoming events
* [[People]]
* [https://www.facebook.com/group.php?gid=100998755576 Facebook group]
* [[Twitter]]
* [[MemoryHole|Legal Requests (information removal, etc)]]
Or just [[Getting Here|drop by the space]]. We're here almost all the time, although evenings are best.


== Status ==
<pre>
'''Noisebridge is up!''' We began building Noisebridge in Feb 2007. Since December 2007 we've had regular Tuesday meetings, and as of October 1st 2008, we have a physical space. We are a tax-exempt 501(c)(3) organization as of July 2009, retroactive October 2008.
<mscalendar>Test1</mscalendar>
</pre>


== Emergency ==
==See also==
<SPAN style="color: #ff0000; font-size: 18px;">[[Safety|In Case of Emergency]]</SPAN>
*[[Help:Collapsing]] - another way of separating "main" and "supplementary" content.

Latest revision as of 15:56, 22 October 2025

Test edit.

WeeklyEvents: Module/Template/Use[edit | edit source]

Mtgs: no recent page · Next T

Notes gathered at a single position[edit | edit source]

Note: This method will only work if you have installed the Cite Extension.

This method gathers the notes at a single position marked with the <references/> tag. If used multiple times, only the first works.

  • <ref>Reference text</ref>
    Produces a reference mark linking to the reference text, provided that the tag <references/> mentioned below is present on the page.
  • <ref name="id">Reference text</ref>
    Ditto; also assigns a name to the reference text; the quotes are only needed if id contains spaces or special characters.
  • <ref name="id"/>
    Produces a reference mark linking to a reference text defined before.
  • <references/>
    Inserts a list of reference texts, each preceded by a list of links to the positions in the page linking to the text; this applies for all texts inside <ref> tags in the wikitext of the page.

Multiple insertion of the same reference[edit | edit source]

mw:Extension:Cite:

References may be cited more than once using <ref name="id"/>. On the Edit page, this is placed at the first insertion point of citation:

<ref name="Perry">Perry's Handbook, Sixth Edition, McGraw-Hill Co., 1984.</ref>

This is placed at the second insertion point of citation:

<ref name="Perry"/>

This is placed at the third insertion point of citation:

<ref name="Perry"/> ..... and so forth for further insertion points

Single insertion of a reference[edit | edit source]

For the single insertion of a reference, the "name" parameter is not needed. On the Edit page, this is placed at the insertion point of citation:

<ref>Excel For Dummies, First Edition, Hungry Minds, Inc., 1980.</ref>

To have the reference depend on a parameter, use e.g.::

{{#tag:ref|...{{tc}}...{{{1}}}...}} giving <ref>...Template:Tc...{{{1}}}...</ref>

What is produced at the points of insertion[edit | edit source]

The <ref> tags in the main text are converted to auto-numbered superscripts, like this:

The only reference to Excel For Dummies.<ref>Excel For Dummies, First Edition, Hungry Minds, Inc., 1980.</ref>
The first reference to Perry's Handbook.<ref name="Perry">Perry's Handbook, Sixth Edition, McGraw-Hill Co., 1984.</ref>
The second reference to Perry's Handbook.<ref name="Perry"/>   
The third reference to Perry's Handbook.<ref name="Perry"/>
Help:Footnotes/demo/ref

Clicking on a numbered superscript takes you straight to the text of the corresponding footnote or reference.

Producing the reference or footnote list[edit | edit source]

The <references/> tag is expanded to show the text of the footnotes or references against their corresponding numbers, like this:

<references/>

For single citations, clicking on the caret (^) takes you to the point of citation in the main text.

For multiple citations, the links back to the main text can be distinguished in various ways, depending on MediaWiki:Cite references link many format and MediaWiki:Cite references link many format backlink labels: the default is to have double-numerical superscripts, e.g. 2.0, 2.1, .. for the second reference, while on Meta and the English Wikipedia we have letters instead of a second number (a instead of 0, b instead of 1, c instead of 2, etc.), and without repeating the reference number. Clicking on a link takes you to the corresponding citation in the main text.

You may also use a slightly different format if desired, like this:

== Example reference section ==
<div class="references-small"> <references /> </div>

to generate the example section on help:Footnotes/example 1.

Notes on the Cite.php method[edit | edit source]

  • Clicking on the blue superscript 1.0 causes the screen display to scroll back up to the point where the first reference to Perry's Handbook was inserted. Clicking on the blue superscript 1.1 causes the screen display to scroll back up to the point where the second reference to Perry's Handbook was inserted. Clicking on the blue superscript 1.2 causes the screen display to scroll back up to the point where the the third reference to Perry's Handbook was inserted ... and so forth.
  • Clicking on any vertical arrow () that has no associated superscripts causes the screen display to scroll back up to the point where that single-use references was inserted.

Notes at independent positions[edit | edit source]

The systems below require a note tag with id for each note, but they allow the position of each footnote text to be chosen independently. For example, footnotes in a table or section can be put at the bottom of the table or section.

Extensions[edit | edit source]

Special:Version

Graphs[edit | edit source]

Extension mwe:Graph, with guide at mwe:Graph/Guide for writing and modifying graphs, including pulling data from tables for the graph -- especially valuable for avoiding duplicate copies of data (even on the same page) that skew out of date.

example[edit | edit source]

https://www.mediawiki.org/wiki/Extension:Graph/Demo/HorizontalBarGraphSample

interactive?[edit | edit source]

https://www.mediawiki.org/wiki/Extension:Graph/Interactive_Graph_Tutorial


Trying Calendars[edit | edit source]

mwe:MsCalendar[edit | edit source]

It doesn't have to be this one, and it may still not work. Someone wants to build the hairball.

<mscalendar>Test1</mscalendar>

See also[edit | edit source]

  • Help:Collapsing - another way of separating "main" and "supplementary" content.