Sarna News: Bad 'Mechs - Icestorm

Difference between revisions of "Template:Wikipedia/doc"

 
(Documentation.)
Line 1: Line 1:
 
<includeonly>{{template doc page transcluded}}</includeonly><noinclude>{{template doc page viewed directly}}</noinclude>
 
<includeonly>{{template doc page transcluded}}</includeonly><noinclude>{{template doc page viewed directly}}</noinclude>
 
<!-- EDIT TEMPLATE DOCUMENTATION BELOW THIS LINE -->
 
<!-- EDIT TEMPLATE DOCUMENTATION BELOW THIS LINE -->
 +
==Usage==
 +
;Code:<code class="block">&#123;{Wikipedia|<b style="color: violet">oldid</b>|<b style="color: orange">FULLPAGENAMEE</b>}}</code>
  
 +
 +
;All parameters:
 +
:*<b style="color: violet">oldid</b>: on the Wikipedia article's page, click on "permanent link"  in the toolbox (found on the left-hand side of the screen). You'll get a link in the form ''<nowiki>http://en.wikipedia.org/w/index.php?title=Example_namespace:Example_page/Example_subpage&oldid=</nowiki>'''number'''''. '''''number''''' is what you are after. Replace the <span style="color: violet">violet</span>, '''bolded''' text in the code example with '''''number'''''.
 +
:*<b style="color: orange">FULLPAGENAMEE</b>: This is an <u>optional</u> parameter. If both Wikipedia's and our articles share the ''exact'' same name, then omit this parameter entirely. Wikipedia's full page name for the article. Convert spaces into underscores. Note that you must include the namespace, the pagename and any subpages, if applicable. e.g.;
 +
::{| class="wikitable"
 +
|+ Example_namespace:Example_page/Example_subpage
 +
!Namespace!!Page name!!Subpage name
 +
|-
 +
|Example_namespace:||Example_page||/Example_subpage
 +
|}
 
<includeonly>
 
<includeonly>
 
<!-- ADD CATEGORIES BELOW THIS LINE -->
 
<!-- ADD CATEGORIES BELOW THIS LINE -->

Revision as of 02:34, 18 December 2006

Template:Template doc page viewed directly

Usage

Code
{{Wikipedia|oldid|FULLPAGENAMEE}}


All parameters
  • oldid: on the Wikipedia article's page, click on "permanent link" in the toolbox (found on the left-hand side of the screen). You'll get a link in the form http://en.wikipedia.org/w/index.php?title=Example_namespace:Example_page/Example_subpage&oldid=number. number is what you are after. Replace the violet, bolded text in the code example with number.
  • FULLPAGENAMEE: This is an optional parameter. If both Wikipedia's and our articles share the exact same name, then omit this parameter entirely. Wikipedia's full page name for the article. Convert spaces into underscores. Note that you must include the namespace, the pagename and any subpages, if applicable. e.g.;
Example_namespace:Example_page/Example_subpage
Namespace Page name Subpage name
Example_namespace: Example_page /Example_subpage