Difference between revisions of "Template:Review"
From Discovery Wiki
Jump to navigationJump to searchm (| -> <nowiki>{{!}}</nowiki>, made the default action for the #switch function (for mod versions) add the page to the "Reviews missing valid mod version numbers" category.) |
m |
||
Line 21: | Line 21: | ||
<pre> | <pre> | ||
{{Review|| | {{Review|| | ||
− | Info}} | + | Info|Mod version}} |
+ | |||
{{Review|Author| | {{Review|Author| | ||
− | + | Review text|Mod version}} | |
− | {{Review|[[ | + | |
− | + | {{Review|[[Bob]]| | |
− | + | Review text|4.86}} | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
</pre> | </pre> | ||
:If you need to use '=' anywhere in a variable (linking to your username on the forum, or a link to a forum topic discussing what you're reviewing, etc), you need to explicitly name the variable with a number instead of having it auto-named. | :If you need to use '=' anywhere in a variable (linking to your username on the forum, or a link to a forum topic discussing what you're reviewing, etc), you need to explicitly name the variable with a number instead of having it auto-named. | ||
− | :For example: <nowiki>{{Review|[[ | + | :For example: <nowiki>{{Review|[[Bob]]| 2 = This is a review that links to [http://discoverygc.com/forums/index.php?showtopic=12345 a discussion on the forums] about the thing being reviewed.}}</nowiki> |
==Result== | ==Result== | ||
− | + | {{Review|[[Bob]]| | |
− | + | Review text|4.86}} | |
− | {{Review|[[ | ||
− | |||
[[Category:Templates]] | [[Category:Templates]] | ||
</noinclude> | </noinclude> |
Revision as of 20:36, 3 November 2012
- This adds the Category:Reviews to the page. You can quickly find what other pages have a review.
- It also formats the contained information to 60% page size. Justified text, and across the board consistency with reviews.
Usage
{{Review|| Info|Mod version}} {{Review|Author| Review text|Mod version}} {{Review|[[Bob]]| Review text|4.86}}
- If you need to use '=' anywhere in a variable (linking to your username on the forum, or a link to a forum topic discussing what you're reviewing, etc), you need to explicitly name the variable with a number instead of having it auto-named.
- For example: {{Review|[[Bob]]| 2 = This is a review that links to [http://discoverygc.com/forums/index.php?showtopic=12345 a discussion on the forums] about the thing being reviewed.}}
Result
Review (4.86)
Review text
Review text
Error creating thumbnail: Unable to save thumbnail to destination
Review by Bob