Template:UserContentVersion: Difference between revisions

Add display-inline to remove p block when version is up to date
No edit summary
(Add display-inline to remove p block when version is up to date)
 
(9 intermediate revisions by the same user not shown)
Line 1: Line 1:
<!--Version template (V) is included in here for the meantime. It will eventually be removed from user content versioning.-->
<includeonly>{{#if:{{{1|}}}
<includeonly>{{#if:{{{1|}}}
|{{#ifeq:{{{1}}}
|{{#ifeq:{{{1}}}
     |{{CurrentVersion}}
     |{{CurrentVersion}}
     |<!--Version matches, no category-->
     |<div style="display:inline;"/><!--Version matches, no category-->
     |{{MessageBox|img=[[File:Rock Carving (item).png|35x35px|center|link=]]
     |{{MessageBox|img=[[File:Rock Carving (item).png|35x35px|center|link=]]
     |This page is possibly not up to date. It was last updated for {{{1}}}
     |This page is possibly not up to date. It was last updated for {{{1}}}
     |You can help with bringing this page up to date by [[Special:EditPage/{{FULLPAGENAME}}|contributing]].
     |You can help with bringing this page up to date by [[Special:EditPage/{{FULLPAGENAME}}|contributing]].
     }}[[Category:Outdated user content pages]]}}
     }}{{MainOnly|[[Category:Outdated user content pages]]}}}}
{{V|{{{1}}}}}<!-- Place V template after category/this template-->
|{{MainOnly|[[Category:Pages without a version]]}}}}<!--
|{{V}}[[Category:Pages without a version]]}}
--></includeonly><noinclude>{{/doc}}[[Category:Maintenance Templates]]</noinclude>
</includeonly><noinclude>{{/doc}}[[Category:Maintenance Templates]]</noinclude>
2,869

edits