Difference between revisions of "Template:Main site"
From GeeklogWiki
m (Template:Article moved to Template:Main site: I've made it general) |
m (Changed template's name) |
||
Line 8: | Line 8: | ||
==Usage== | ==Usage== | ||
− | <pre><nowiki>{{ | + | <pre><nowiki>{{main site| type=article| id=articleID}}</nowiki></pre> |
− | For example, <nowiki>{{ | + | For example, <nowiki>{{main site| type=article| id=2004063013542379}}</nowiki> would display as: |
− | {{ | + | {{main site| type=article| id=2004063013542379}} |
− | <pre><nowiki>{{ | + | <pre><nowiki>{{main site| type=forum| id=forumID}}</nowiki></pre> |
− | For example, <nowiki>{{ | + | For example, <nowiki>{{main site| type=forum| id=87624}}</nowiki> would display as: |
− | {{ | + | {{main site| type=forum| id=87624}} |
</noinclude> | </noinclude> |
Revision as of 11:42, 26 May 2009
Supply an item type and ID from the main site and get a link for it.
Usage
{{main site| type=article| id=articleID}}
For example, {{main site| type=article| id=2004063013542379}} would display as:
http://www.geeklog.net/article.php/{{{1}}}
{{main site| type=forum| id=forumID}}
For example, {{main site| type=forum| id=87624}} would display as:
http://www.geeklog.net/article.php/{{{1}}}