Template:UserContentVersion: Difference between revisions

Add display-inline to remove p block when version is up to date
(Format test)
(Add display-inline to remove p block when version is up to date)
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>{{#if:{{{1|}}}
<includeonly>{{#if:{{{1|}}}
|{{#ifeq:{{{1}}}|{{CurrentVersion}}|
|{{#ifeq:{{{1}}}
  |{{MessageBox|img=[[File:Rock Carving (item).png|35x35px|center|link=]]
    |{{CurrentVersion}}
    |This page is possibly not up to date. It was last updated for {{{1}}}
    |<div style="display:inline;"/><!--Version matches, no category-->
    |You can help with bringing this page up to date by [[Special:EditPage/{{FULLPAGENAME}}|contributing]].
    |{{MessageBox|img=[[File:Rock Carving (item).png|35x35px|center|link=]]
    }}{{MainOnly|[[Category:Outdated user content pages]]}}
    |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:Pages without a version]]}}
    }}{{MainOnly|[[Category:Outdated user content pages]]}}}}
}}</includeonly><noinclude>{{/doc}}[[Category:Maintenance Templates]]</noinclude>
|{{MainOnly|[[Category:Pages without a version]]}}}}<!--
--></includeonly><noinclude>{{/doc}}[[Category:Maintenance Templates]]</noinclude>
2,875

edits