Difference between revisions of "Template:GTAF"

From GTAMods Wiki
Jump to navigation Jump to search
m
Line 1: Line 1:
<includeonly>{{#switch: {{lc:{{{1|}}}}}|post = [[Image:Post.png]]&nbsp;{{#if:{{{4|}}}|<span style="font-size:95%; color:#888;">GTAForums:&nbsp;</span>}}[http://www.gtaforums.com/index.php?showtopic&#61;{{{2}}}&view&#61;findpost&p&#61;{{{3}}} {{{4|Post on GTAForums}}}]|profile = [[Image:User.png]]&nbsp;{{#if:{{{3|}}}|<span style="font-size:95%; color:#888;">GTAForums:&nbsp;</span>}}[http://www.gtaforums.com/index.php?showuser&#61;{{{2}}} {{{3|GTANet Profile}}}]|section={{Icon|Gtanet}}&nbsp;{{#if:{{{3|}}}|<span style="font-size:95%; color:#888;">GTAForums:&nbsp;</span>}}[http://www.gtaforums.com/index.php?showforum&#61;{{{2}}} {{{3|GTAForums section}}}]|{{Icon|Gtanet}}&nbsp;{{#if:{{{2|}}}|<span style="font-size:95%; color:#888;">GTAForums:&nbsp;</span>}}[http://www.gtaforums.com/index.php?showtopic&#61;{{{1}}} {{{2|GTAForums topic}}}]}}</includeonly><noinclude>
+
<includeonly>{{#switch: {{lc:{{{1|}}}}}|post = [[Image:Post.png]]&nbsp;{{#if:{{{4|}}}|<span style="font-size:95%; color:#888;">GTAForums:&nbsp;</span>}}[http://www.gtaforums.com/index.php?showtopic&#61;{{{2}}}&view&#61;findpost&p&#61;{{{3}}} {{{4|Post on GTAForums}}}]|plainpost = [http://www.gtaforums.com/index.php?showtopic&#61;{{{2}}}&view&#61;findpost&p&#61;{{{3}}} {{{4|Post on GTAForums}}}]|profile = [[Image:User.png]]&nbsp;{{#if:{{{3|}}}|<span style="font-size:95%; color:#888;">GTAForums:&nbsp;</span>}}[http://www.gtaforums.com/index.php?showuser&#61;{{{2}}} {{{3|GTANet Profile}}}]|section={{Icon|Gtanet}}&nbsp;{{#if:{{{3|}}}|<span style="font-size:95%; color:#888;">GTAForums:&nbsp;</span>}}[http://www.gtaforums.com/index.php?showforum&#61;{{{2}}} {{{3|GTAForums section}}}]|{{Icon|Gtanet}}&nbsp;{{#if:{{{2|}}}|<span style="font-size:95%; color:#888;">GTAForums:&nbsp;</span>}}[http://www.gtaforums.com/index.php?showtopic&#61;{{{1}}} {{{2|GTAForums topic}}}]}}</includeonly><noinclude>
 
The '''GTAF''' template is used to quickly paste a link on <span class="plainlinks">[http://www.gtaforums.com GTAForums.com]</span>. The template could be used for links on topics, user profiles and single posts.
 
The '''GTAF''' template is used to quickly paste a link on <span class="plainlinks">[http://www.gtaforums.com GTAForums.com]</span>. The template could be used for links on topics, user profiles and single posts.
  
Line 43: Line 43:
  
 
produces: {{GTAF|profile|49411|Seemann}}
 
produces: {{GTAF|profile|49411|Seemann}}
 +
 +
=== Rudimentary Linking ===
 +
To create links to posts without any additional icons or text and description use the following template:
 +
<nowiki>{{</nowiki>{{hint|GTAF|template name}}|plainpost|{{hint|100|topic id}}}}
 +
 +
You can also add an description:
 +
<nowiki>{{</nowiki>{{hint|GTAF|template name}}|plainpost|{{hint|100|topic id}}|description}}
 +
 +
produces:<br>
 +
{{GTAF|plainpost|100}}<br>
 +
{{GTAF|plainpost|100|Some random topic}}<br>
 
</noinclude>
 
</noinclude>

Revision as of 14:42, 28 March 2009

The GTAF template is used to quickly paste a link on GTAForums.com. The template could be used for links on topics, user profiles and single posts.

Template Usage

Topic link without description

{{GTAF|100}}

produces: GTA Net GTAForums topic

Topic link with description

{{GTAF|100|Some random topic}}

produces: GTA Net GTAForums: Some random topic

Section link without description

{{GTAF|section|120}}

produces: GTA Net GTAForums section

Section link with description

{{GTAF|section|120|GTA IV section}}

produces: GTA Net GTAForums: GTA IV section

Single post link without description

{{GTAF|post|137906|1756646}}

produces: Post.png Post on GTAForums

Single post link with description

{{GTAF|post|137906|1756646|Random post}}

produces: Post.png GTAForums: Random post

User profile link without description

{{GTAF|profile|49411}}

produces: User.png GTANet Profile

User profile link with description

{{GTAF|profile|49411|Seemann}}

produces: User.png GTAForums: Seemann

Rudimentary Linking

To create links to posts without any additional icons or text and description use the following template:

{{GTAF|plainpost|100}}

You can also add an description:

{{GTAF|plainpost|100|description}}

produces:
Post on GTAForums
random topic Post on GTAForums