Difference between revisions of "Template:Review"

From Discovery Wiki
Jump to navigationJump to search
(Testing)
m (Added a few more version options to the review template.)
 
(42 intermediate revisions by 6 users not shown)
Line 1: Line 1:
<noinclude><!--</noinclude><div id="random" style="background-color:#131946; border: 3px solid #7fb7d1; padding: 10px; text-align:justify; width:60%; margin: 2px 10px; color:#84c6e7;">===Review==={{#if: {{{1|}}} |{{{2}}}<br/>[[Image:Flavorarrow2.jpg|top]] Review by {{{1}}}|{{{2}}}|}}</div><includeonly>[[Category:Reviews]]</includeonly>
 
 
<noinclude>
 
<noinclude>
 +
*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.<!--</noinclude>
 +
{{#switch: {{{3|}}}
 +
| 4.84
 +
| 4.85
 +
| 4.85.1
 +
| 4.85.2
 +
| 4.85.3
 +
| 4.86Betas
 +
| 4.86 =
 +
{{{!}} class="wikitable collapsible collapsed"
 +
!Outdated Review ({{{3|}}})
 +
{{!}}-
 +
{{!}} {{Review/box|{{{1|}}}|{{{2|}}}|{{{3|}}}}}
 +
{{!}}}
 +
| 4.87 = {{Review/box|{{{1|}}}|{{{2|}}}|{{{3|}}}}}
 +
| 4.88 = {{Review/box|{{{1|}}}|{{{2|}}}|{{{3|}}}}}
 +
| 4.88.0 = {{Review/box|{{{1|}}}|{{{2|}}}|{{{3|}}}}}
 +
| 4.88.1 = {{Review/box|{{{1|}}}|{{{2|}}}|{{{3|}}}}}
 +
| 4.88.0.0 = {{Review/box|{{{1|}}}|{{{2|}}}|{{{3|}}}}}
 +
| 4.88.0.1 = {{Review/box|{{{1|}}}|{{{2|}}}|{{{3|}}}}}
 +
| bad
 +
| #default =
 +
{{{!}} class="wikitable collapsible collapsed"
 +
!Review without version number
 +
{{!}}-
 +
{{!}} {{Review/box|{{{1|}}}|{{{2|}}}}}
 +
{{!}}}[[Category:Reviews missing valid mod version numbers]]}}[[Category:Reviews]]<noinclude>
 
-->
 
-->
 
==Usage==
 
==Usage==
 
<pre>
 
<pre>
 
{{Review||
 
{{Review||
Info
+
Info|Mod version}}
}}
+
 
 
{{Review|Author|
 
{{Review|Author|
Info
+
Review text|Mod version}}
}}
+
 
 +
{{Review|[[Bob]]|
 +
Review text|4.87}}
 
</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.
 +
: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||
+
{{Review|[[Bob]]|
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Proin velit nisi, lacinia id porttitor nec, iaculis vel orci. Aenean sagittis molestie erat, quis dignissim metus malesuada in. Duis ac neque in tellus rutrum aliquam sit amet vitae quam. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nulla auctor, massa quis ornare consequat, odio enim tristique dui, in fringilla leo est et est. Suspendisse urna odio, imperdiet eget vulputate a, scelerisque sit amet enim. Cras a nunc metus, sed venenatis erat. Duis vitae ullamcorper felis. Sed ultrices cursus mi, vel porttitor leo placerat non. Fusce pretium lectus vel odio porttitor ut dignissim ante luctus. Proin tempus aliquet mi nec fringilla. Duis sed molestie eros. Nunc hendrerit metus vel nibh volutpat et tempus arcu accumsan. Donec at enim leo, eu facilisis turpis. In a nunc at ligula ornare blandit a sed mi. Maecenas sit amet tempus purus. Donec ornare consequat risus, consequat consectetur leo blandit in. Integer vel enim enim.
+
Review text|4.87}}
}}
+
 
{{Review|[[Chad Jones]]|
+
{{Review|[[Bob]]|
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Proin velit nisi, lacinia id porttitor nec, iaculis vel orci. Aenean sagittis molestie erat, quis dignissim metus malesuada in. Duis ac neque in tellus rutrum aliquam sit amet vitae quam. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nulla auctor, massa quis ornare consequat, odio enim tristique dui, in fringilla leo est et est. Suspendisse urna odio, imperdiet eget vulputate a, scelerisque sit amet enim. Cras a nunc metus, sed venenatis erat. Duis vitae ullamcorper felis. Sed ultrices cursus mi, vel porttitor leo placerat non. Fusce pretium lectus vel odio porttitor ut dignissim ante luctus. Proin tempus aliquet mi nec fringilla. Duis sed molestie eros. Nunc hendrerit metus vel nibh volutpat et tempus arcu accumsan. Donec at enim leo, eu facilisis turpis. In a nunc at ligula ornare blandit a sed mi. Maecenas sit amet tempus purus. Donec ornare consequat risus, consequat consectetur leo blandit in. Integer vel enim enim.
+
Review text|4.86}}
}}
+
 
 +
{{Review|[[Bob]]|
 +
Review text|4.85}}
 +
 
 
[[Category:Templates]]
 
[[Category:Templates]]
 
</noinclude>
 
</noinclude>

Latest revision as of 12:28, 10 June 2015

  • 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.87}}
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.87)

Review text
Error creating thumbnail: Unable to save thumbnail to destination
Review by Bob