Template:Update History

From Support Wiki
Jump to navigation Jump to search

Update History is a wiki template that helps users to see what the patch notes are for that specific article.

Summary

Displaying patch notes is a great way to help build SEO and analytics.

Manual

Template name: Update History

<!-- Developed by TF2 Wiki on Truck Sim Wiki at https://wiki.teamfortress.com/ -->
<div class="update" style="max-height:280px; overflow-y:scroll; overflow-x: auto; border:1px solid #DDD; border-style:solid none; margin-top: none;">{{trim|{{{update|}}}}}</div>
<noinclude>[[Category:Documentation templates]]</noinclude>

Template name: Trim

<includeonly>{{#if:{{{1|}}}|{{{1}}}|}}</includeonly><noinclude>
{{doc}}
[[Category:Formatting templates|{{PAGENAME}}]]</noinclude>

==Update History==
{{Update History|update=
'''[[Patch Notes Number]]'''
: Content/items changed for that article.
}}

To further expand your automation, you can implement Template Guide:Update so you can do:

==Update History==
{{Update History|update=
'''{{Update|PC|0.0.0}}'''
: Content/items changed for that article.
}}

Example wikis