Template:Box

From STNE Wiki

(Difference between revisions)
Jump to: navigation, search
 
(6 intermediate revisions not shown)
Line 1: Line 1:
-
<noinclude>This template generates a default box, as used on the main page.
+
<includeonly><div class="catlinks" style="text-align:left; margin:10px 0 0 0; border-width:2px; padding:0em 1em 1em 1em;"> {{{1}}} </div></includeonly><noinclude>
 +
This template generates a default box, as used on the main page.
-
Usage:
+
== Usage ==
<pre>{{Box |  
<pre>{{Box |  
== Quickstart ==
== Quickstart ==
Line 10: 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 23: Line 24:
* [[: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>
}}
}}
-
</noinclude><includeonly><div style="margin:0; margin-top:10px; margin-right:10px; border:2px solid #16344E; padding:0em 1em 1em 1em;"><!--
+
== Notes ==
-
-->{{{1}}}<!--
+
* Some characters need to be escaped. Equal signs (=) not part of wiki code need to be escaped as such: <nowiki>{{=}}</nowiki>. Pipe signs (|) not part of wiki code need to be escaped like this: <nowiki>{{!}}</nowiki>
-
--></div></includeonly>
+
</noinclude>
 +
<noinclude>[[Category:Templates]]</noinclude>

Latest revision as of 21:00, 20 December 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: {{=}}. Pipe signs (|) not part of wiki code need to be escaped like this: {{!}}