Template:Box

From STNE Wiki

(Difference between revisions)
Jump to: navigation, search
Line 2: Line 2:
This template generates a default box, as used on the main page.
This template generates a default box, as used on the main page.
-
Usage:
+
== Usage ==
<pre>{{Box |  
<pre>{{Box |  
== Quickstart ==
== Quickstart ==
Line 11: Line 11:
* [[:Category:General|Search by subject]]
* [[:Category:General|Search by subject]]
* [[Special:Search|Wiki Search function]]
* [[Special:Search|Wiki Search function]]
-
* [http://www.google.com/custom?sa=Google+Search&domains=wiki.en.stne.net&sitesearch=wiki.en.stne.net Google search STNE-Wiki]
+
* [http://www.google.com/custom?sa{{=}}Google+Search&domains{{=}}wiki.en.stne.net&sitesearch{{=}}wiki.en.stne.net Google search STNE-Wiki]
-
<div style="text-align:right; font-size:80%; font-weight:bold;">More about [[Help:Search|searching the Wiki]]... </div>
+
<div style{{=}}"text-align:right; font-size:80%; font-weight:bold;">More about [[Help:Search|searching the Wiki]]... </div>
}}</pre>
}}</pre>
-
Result:
+
== Result ==
{{Box |  
{{Box |  
== Quickstart ==
== Quickstart ==
Line 27: Line 27:
<div style{{=}}"text-align:right; font-size:80%; font-weight:bold;">More about [[Help:Search|searching the Wiki]]... </div>
<div style{{=}}"text-align:right; font-size:80%; font-weight:bold;">More about [[Help:Search|searching the Wiki]]... </div>
}}
}}
 +
 +
== Notes ==
 +
* Some characters need to be escaped. Equal signs (=) not part of wiki code need to be escaped as such: <nowiki>{{=}}</nowiki. Pipe signs (|) not aprt of wiki code need to be escaped like this: <nowiki>{{!}}</nowiki>
</noinclude>
</noinclude>

Revision as of 11:40, 22 August 2010

This template generates a default box, as used on the main page.

Contents

Usage

{{Box | 
== Quickstart ==
* [[Bugs|Overview of current bugs]]
* [[Contents|Contents]]
* [[Index|From A to Z]]
* [[Abbreviations]]
* [[:Category:General|Search by subject]]
* [[Special:Search|Wiki Search function]]
* [http://www.google.com/custom?sa{{=}}Google+Search&domains{{=}}wiki.en.stne.net&sitesearch{{=}}wiki.en.stne.net Google search STNE-Wiki]
<div style{{=}}"text-align:right; font-size:80%; font-weight:bold;">More about [[Help:Search|searching the Wiki]]... </div>
}}

Result


Notes

  • Some characters need to be escaped. Equal signs (=) not part of wiki code need to be escaped as such: {{=}}</nowiki. Pipe signs (|) not aprt of wiki code need to be escaped like this: <nowiki>{{!}}