Template:Documentation subpage: Difference between revisions

From Meta Wiki
Jump to navigation Jump to search
Fix
metawikimedia>GKFX
Use Template:Terminate sentence, which correctly determines when to add a full stop.
Line 10: Line 10:
             | image = [[File:Edit-copy green.svg|40px|alt=|link=]]
             | image = [[File:Edit-copy green.svg|40px|alt=|link=]]
             | text =
             | text =
'''This is a [[:wikipedia:Wikipedia:Template documentation|documentation]] [[:wikipedia:Wikipedia:Subpages|subpage]] for {{{1|[[:{{SUBJECTSPACE}}:{{BASEPAGENAME}}]]}}}'''.<br />It contains usage information, [[Wikipedia:Categorization|categories]] and other content that is not part of the original {{#if:{{{text2|}}} |{{{text2}}} |{{#if:{{{text1|}}} |{{{text1}}} |{{#ifeq:{{SUBJECTSPACE}} |{{ns:User}} |{{lc:{{SUBJECTSPACE}}}} template page |{{#if:{{SUBJECTSPACE}} |{{lc:{{SUBJECTSPACE}}}} page|article}}}}}}}}.  
'''This is a [[Wikipedia:Template documentation|documentation]] [[Wikipedia:Subpages|subpage]] for {{terminate sentence|{{{1|[[:{{SUBJECTSPACE}}:{{BASEPAGENAME}}]]}}}}}'''<br />It contains usage information, [[Wikipedia:Categorization|categories]] and other content that is not part of the original {{#if:{{{text2|}}} |{{{text2}}} |{{#if:{{{text1|}}} |{{{text1}}} |{{#ifeq:{{SUBJECTSPACE}} |{{ns:User}} |{{lc:{{SUBJECTSPACE}}}} template page |{{#if:{{SUBJECTSPACE}} |{{lc:{{SUBJECTSPACE}}}} page|article}}}}}}}}.  
             }}
             }}
         }}<!--
         }}<!--
Line 19: Line 19:
           |  <includeonly><!--
           |  <includeonly><!--
               -->{{#ifexist:{{NAMESPACE}}:{{BASEPAGENAME}}
               -->{{#ifexist:{{NAMESPACE}}:{{BASEPAGENAME}}
                   | [[Category:{{#switch:{{SUBJECTSPACE}} |Template=Template |Module=Module |User=User |#default=Meta}} documentation pages]]
                   | [[Category:{{#switch:{{SUBJECTSPACE}} |Template=Template |Module=Module |User=User |#default=Wikipedia}} documentation pages]]
                   | [[Category:Documentation subpages without corresponding pages]]
                   | [[Category:Documentation subpages without corresponding pages]]
                   }}<!--
                   }}<!--
Line 29: Line 29:
     | <!--(this template has not been transcluded on a /doc or /{{{override}}} page)-->
     | <!--(this template has not been transcluded on a /doc or /{{{override}}} page)-->
     }}<!--
     }}<!--
--></includeonly><noinclude>{{Documentation}}[[Category:Templates]]</noinclude>
--></includeonly><noinclude>{{Documentation}}</noinclude>

Revision as of 18:56, 24 December 2021