Difference between revisions of "Template:PacketList"

From wiki.vg
Jump to navigation Jump to search
(removed irrelevant links for added/removed packets; added docs)
(added support for custom anchors)
Line 1: Line 1:
<includeonly> |- {{#if: {{{removed|}}} | style="background-color: #f4cccc; text-decoration: line-through;" | {{#if: {{{added|}}} | style="background-color: #d9ead3;" | }} }}
+
<includeonly> |- {{#ifeq: {{{pre|}}} | removed | style="background-color: #f4cccc; text-decoration: line-through;" | {{#ifeq: {{{rel|}}} | added | style="background-color: #d9ead3;" | }} }}
  | {{{1}}} || {{{2}}} || {{#if: {{{added|}}} || [[Protocol#{{{2}}}|Current]] }} || {{#if: {{{removed|}}} || [[Pre-release_protocol#{{{2}}}|Pre]] }}</includeonly><noinclude>This template is used to build the table of contents on [[Pre-release protocol]].
+
  | {{{1}}} || {{{2}}} || {{#ifeq: {{{rel|}}} | added || [[Protocol#{{{rel|{{{2}}}}}}|Current]] }} || {{#ifeq: {{{pre|}}} | removed || [[Pre-release_protocol#{{{pre|{{{2}}}}}}|Pre]] }}</includeonly><noinclude>This template is used to build the table of contents on [[Pre-release protocol]].
  
 
[[Category:Templates]]
 
[[Category:Templates]]

Revision as of 12:46, 29 August 2015

This template is used to build the table of contents on Pre-release protocol.