Difference between revisions of "Template:Forum"
From Adventure Game Studio | Wiki
Jump to navigationJump to searchMonkey'05'06 (talk | contribs) m |
Monkey'05'06 (talk | contribs) 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}}
The first parameter sets the link text: {{forum|Forums!}}
The rest of the parameters are appended to the forum address: {{forum|Give some hints!|topic|46167.0}}
Due to technical reasons, replace equal signs by adding a new parameter: {{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