Difference between revisions of "Template:GTAF"
Jump to navigation
Jump to search
m |
m (→Elementary linking) |
||
(5 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
− | <includeonly>{{#switch: {{lc:{{{1|}}}}}|post = [[Image:Post.png]] {{#if:{{{4|}}}|<span style="font-size:95%; color:#888;">GTAForums: </span>}}[http://www.gtaforums.com/index.php?showtopic={{{2}}}&view=findpost&p={{{3}}} {{{4|Post on GTAForums}}}]|profile = [[Image:User.png]] {{#if:{{{3|}}}|<span style="font-size:95%; color:#888;">GTAForums: </span>}}[http://www.gtaforums.com/index.php?showuser={{{2}}} {{{3|GTANet Profile}}}]|section={{Icon|Gtanet}} {{#if:{{{3|}}}|<span style="font-size:95%; color:#888;">GTAForums: </span>}}[http://www.gtaforums.com/index.php?showforum={{{2}}} {{{3|GTAForums section}}}]|{{Icon|Gtanet}} {{#if:{{{2|}}}|<span style="font-size:95%; color:#888;">GTAForums: </span>}}[http://www.gtaforums.com/index.php?showtopic={{{1}}} {{{2|GTAForums topic}}}]}}</includeonly><noinclude> | + | <includeonly>{{#switch: {{lc:{{{1|}}}}}|post = [[Image:Post.png]] {{#if:{{{4|}}}|<span style="font-size:95%; color:#888;">GTAForums: </span>}}[http://www.gtaforums.com/index.php?showtopic={{{2}}}&view=findpost&p={{{3}}} {{{4|Post on GTAForums}}}]|plain = [http://www.gtaforums.com/index.php?showtopic={{{2}}} {{{3|GTAForums topic}}}]|profile = [[Image:User.png]] {{#if:{{{3|}}}|<span style="font-size:95%; color:#888;">GTAForums: </span>}}[http://www.gtaforums.com/index.php?showuser={{{2}}} {{{3|GTANet Profile}}}]|section={{Icon|Gtanet}} {{#if:{{{3|}}}|<span style="font-size:95%; color:#888;">GTAForums: </span>}}[http://www.gtaforums.com/index.php?showforum={{{2}}} {{{3|GTAForums section}}}]|{{Icon|Gtanet}} {{#if:{{{2|}}}|<span style="font-size:95%; color:#888;">GTAForums: </span>}}[http://www.gtaforums.com/index.php?showtopic={{{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}} | ||
+ | |||
+ | === Elementary linking === | ||
+ | To create links to posts without any additional icons or text and description use the following template: | ||
+ | <nowiki>{{</nowiki>{{hint|GTAF|template name}}|plain|{{hint|100|topic id}}}} | ||
+ | |||
+ | You can also add an description: | ||
+ | <nowiki>{{</nowiki>{{hint|GTAF|template name}}|plain|{{hint|100|topic id}}|{{hint|Some random topic|Link description}}}} | ||
+ | |||
+ | produces:<br> | ||
+ | * {{GTAF|plain|100}}<br> | ||
+ | * {{GTAF|plain|100|Some random topic}}<br> | ||
</noinclude> | </noinclude> |
Latest revision as of 20:16, 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.
Contents
- 1 Template Usage
- 1.1 Topic link without description
- 1.2 Topic link with description
- 1.3 Section link without description
- 1.4 Section link with description
- 1.5 Single post link without description
- 1.6 Single post link with description
- 1.7 User profile link without description
- 1.8 User profile link with description
- 1.9 Elementary linking
Template Usage
Topic link without description
{{GTAF|100}}
produces: GTAForums topic
Topic link with description
{{GTAF|100|Some random topic}}
produces: GTAForums: Some random topic
Section link without description
{{GTAF|section|120}}
produces: GTAForums section
Section link with description
{{GTAF|section|120|GTA IV section}}
produces: GTAForums: GTA IV section
Single post link without description
{{GTAF|post|137906|1756646}}
produces: Post on GTAForums
Single post link with description
{{GTAF|post|137906|1756646|Random post}}
produces: GTAForums: Random post
User profile link without description
{{GTAF|profile|49411}}
produces: GTANet Profile
User profile link with description
{{GTAF|profile|49411|Seemann}}
produces: GTAForums: Seemann
Elementary linking
To create links to posts without any additional icons or text and description use the following template:
{{GTAF|plain|100}}
You can also add an description:
{{GTAF|plain|100|Some random topic}}
produces: