Template:UserContentVersion: Difference between revisions

Add display-inline to remove p block when version is up to date
(Put everything on one line)
(Add display-inline to remove p block when version is up to date)
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>{{#if:{{{1|}}}|{{#ifeq:{{{1}}}|{{CurrentVersion}}||{{MessageBox|img=[[File:Rock Carving (item).png|35x35px|center|link=]]|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]].}}{{MainOnly|[[Category:Outdated user content pages]]}}}}|{{MainOnly|[[Category:Pages without a version]]}}}}</includeonly><noinclude>{{/doc}}[[Category:Maintenance Templates]]</noinclude>
<includeonly>{{#if:{{{1|}}}
|{{#ifeq:{{{1}}}
    |{{CurrentVersion}}
    |<div style="display:inline;"/><!--Version matches, no category-->
    |{{MessageBox|img=[[File:Rock Carving (item).png|35x35px|center|link=]]
    |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]].
    }}{{MainOnly|[[Category:Outdated user content pages]]}}}}
|{{MainOnly|[[Category:Pages without a version]]}}}}<!--
--></includeonly><noinclude>{{/doc}}[[Category:Maintenance Templates]]</noinclude>
2,647

edits