Difference between revisions of "Template:Forum"

From Adventure Game Studio | Wiki
Jump to navigationJump to search
m
m
Line 1: Line 1:
<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>''<nowiki>{{forum}}</nowiki>''
+
<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:'''
 +
 
 +
Template with no parameters: ''<nowiki>{{forum}}</nowiki>''
  
 
{{forum}}
 
{{forum}}
  
''<nowiki>{{forum|Forums!}}</nowiki>''
+
The first parameter sets the link text: ''<nowiki>{{forum|Forums!}}</nowiki>''
  
 
{{forum|Forums!}}
 
{{forum|Forums!}}
  
''<nowiki>{{forum|Give some hints!|topic|46167.0}}</nowiki>''
+
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}}
 
{{forum|Give some hints!|topic|46167.0}}
  
''<nowiki>{{forum|View CJ's profile!|action|profile;u|1}}</nowiki>''
+
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}}
 
{{forum|View CJ's profile!|action|profile;u|1}}
  
</noinclude>
+
Currently the template supports up to a maximum of 5 parameters, more can be added if needed.
 +
 
 +
'''See Also:''' [[Template:Thread]]</noinclude>

Revision as of 07:43, 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