Difference between revisions of "Template:Main site"

From GeeklogWiki
Jump to: navigation, search
m (Switched)
 
(11 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>http://www.geeklog.net/{{#if:{{{type|}}}|{{#if:{{article|{{{type}}}}}
+
#REDIRECT [[Template:Article]]
|{{type}}.php/
 
|{{#if:{{forum|{{{type}}}}}
 
|{{type}}/viewtopic.php?showtopic=}}
 
}}
 
}}
 
{{id}}</includeonly><noinclude>Supply an item type and ID from the main site and get a link for it.
 
 
 
==Usage==
 
<pre><nowiki>{{article| type=article| id=articleID}}</nowiki></pre>
 
 
 
For example, <nowiki>{{article| type=article| id=2004063013542379}}</nowiki> would display as:
 
 
 
{{article| type=article| id=2004063013542379}}
 
 
 
<pre><nowiki>{{article| type=forum| id=forumID}}</nowiki></pre>
 
 
 
For example, <nowiki>{{article| type=forum| id=87624}}</nowiki> would display as:
 
 
 
{{article| type=forum| id=87624}}
 
 
 
</noinclude>
 

Latest revision as of 12:08, 26 May 2009

Redirect to: