Template:Forum: Difference between revisions

From Adventure Game Studio | Wiki
Jump to navigation Jump to search
*>Monkey 05 06
No edit summary
 
mNo edit summary
 
(70 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<includeonly>[http://new.bigbluecup.com/yabb/index.php{{qif|test={{{2|}}}|then=?{{{2}}}}} {{qif|test={{{3|}}}|then={{{3}}}|else=AGS forums}}]</includeonly><noinclude>Provides a link to the forums. Primarily for easy updating of pages linking to the forum.
<includeonly>[http://www.adventuregamestudio.co.uk/forums/index.php{{#ifeq:{{{2|}}}|||?{{{2}}}{{#ifeq:{{{3|}}}|||={{{3}}}}}{{#ifeq:{{{4|}}}|||={{{4}}}}}{{#ifeq:{{{5|}}}|||={{{5}}}}}}} {{{1|AGS forums}}}]</includeonly><noinclude>'''Examples:'''


'''Usage:''' <nowiki>{{forum}}, {{forum|action=viewprofile;u=1}}, {{forum|action=viewprofile;u=1|View CJ's profile}}</nowiki>
Template with no parameters: ''<nowiki>{{forum}}</nowiki>''


'''Example:''' [http://new.bigbluecup.com/yabb/index.php AGS forums], [http://new.bigbluecup.com/yabb/index.php?action=viewprofile;u=1 AGS forums], [http://new.bigbluecup.com/yabb/index.php?action=viewprofile;u=1 View CJ's profile]
{{forum}}
 
The first parameter sets the link text: ''<nowiki>{{forum|Forums!}}</nowiki>''
 
{{forum|Forums!}}
 
The rest of the parameters are appended to the forum address: ''<nowiki>{{forum|Give some hints!|topic|46167.0}}</nowiki>''
 
{{forum|Give some hints!|topic|46167.0}}
 
Due to technical reasons, replace equal signs by adding a new parameter: ''<nowiki>{{forum|View CJ's profile!|action|profile;u|1}}</nowiki>''
 
{{forum|View CJ's profile!|action|profile;u|1}}
 
Currently the template supports up to a maximum of 5 parameters, more can be added if needed.
 
'''See Also:''' [[Template:Thread]]
 
[[Category:External link templates]]</noinclude>

Latest revision as of 07:53, 19 August 2012

Examples:

Template with no parameters: {{forum}}

AGS forums

The first parameter sets the link text: {{forum|Forums!}}

Forums!

The rest of the parameters are appended to the forum address: {{forum|Give some hints!|topic|46167.0}}

Give some hints!

Due to technical reasons, replace equal signs by adding a new parameter: {{forum|View CJ's profile!|action|profile;u|1}}

View CJ's profile!

Currently the template supports up to a maximum of 5 parameters, more can be added if needed.

See Also: Template:Thread