Modèle: Documentation

De Guide MFC
Aller à : navigation, rechercher
(Nouvelle page : <noinclude>{{ #ifeq: {{SUBPAGENAME}} | sandbox | {{Template sandbox notice}} }} </noinclude><div class="template-documentation">{{ #if: {{{heading|Documentation}}} |<div style=...)
 
(using MFCifexist)
Ligne 1 : Ligne 1 :
<noinclude>{{
+
<div class="template-documentation">{{
#ifeq: {{SUBPAGENAME}} | sandbox
 
  | {{Template sandbox notice}}
 
}}
 
</noinclude><div class="template-documentation">{{
 
 
   #if: {{{heading|Documentation}}}
 
   #if: {{{heading|Documentation}}}
 
   |<div style="padding-bottom: {{{heading-padding|3px}}}; border-bottom: 1px solid #aaa; margin-bottom: {{{heading-margin|1ex}}}"><span class="editsection plainlinks" id="doc_editlinks">{{
 
   |<div style="padding-bottom: {{{heading-padding|3px}}}; border-bottom: 1px solid #aaa; margin-bottom: {{{heading-margin|1ex}}}"><span class="editsection plainlinks" id="doc_editlinks">{{
     #ifexist: {{{1|{{Documentation/docname}}}}}
+
     #MFCifexist: {{{1|{{Documentation/docname}}}}}
 
     |<!-- /doc exists -->[[{{fullurl:{{{1|{{Documentation/docname}}}}}|action=edit}} edit]]
 
     |<!-- /doc exists -->[[{{fullurl:{{{1|{{Documentation/docname}}}}}|action=edit}} edit]]
 
     |<!-- no /doc -->{{
 
     |<!-- no /doc -->{{
Ligne 18 : Ligne 14 :
 
   #ifeq: {{{transcluded|show}}} | show
 
   #ifeq: {{{transcluded|show}}} | show
 
   |<!-- transcluded show -->{{
 
   |<!-- transcluded show -->{{
     #ifexist: {{{1|{{Documentation/docname}}}}}
+
     #MFCifexist: {{{1|{{Documentation/docname}}}}}
 
     |<!-- /doc exists -->This [[Wikipedia:Template documentation|documentation]] is [[Wikipedia:Transclusion|transcluded]] from [[{{{1|{{Documentation/docname}}}}}]]. <small style="font-style: normal">([{{fullurl:{{{1|{{Documentation/docname}}}}}|action=edit}} edit] &#124; [{{fullurl:{{{1|{{Documentation/docname}}}}}|action=history}} history])</small><br />
 
     |<!-- /doc exists -->This [[Wikipedia:Template documentation|documentation]] is [[Wikipedia:Transclusion|transcluded]] from [[{{{1|{{Documentation/docname}}}}}]]. <small style="font-style: normal">([{{fullurl:{{{1|{{Documentation/docname}}}}}|action=edit}} edit] &#124; [{{fullurl:{{{1|{{Documentation/docname}}}}}|action=history}} history])</small><br />
 
   }}
 
   }}
Ligne 24 : Ligne 20 :
 
}}{{
 
}}{{
 
   #switch: {{SUBPAGENAME}}
 
   #switch: {{SUBPAGENAME}}
  |sandbox=<!-- sandbox -->
 
  |testcases=<!-- testcases -->
 
 
   |#default={{
 
   |#default={{
 
     #switch: {{SUBJECTSPACE}}/{{{sandbox-testcases|show}}}
 
     #switch: {{SUBJECTSPACE}}/{{{sandbox-testcases|show}}}
 
     | {{ns:template}}/show | {{ns:user}}/show =<!-- show /sandbox /testcases -->{{
 
     | {{ns:template}}/show | {{ns:user}}/show =<!-- show /sandbox /testcases -->{{
       #ifexist: {{ #rel2abs: /sandbox }}
+
       #MFCifexist: {{ #rel2abs: /sandbox }}
 
       | This template has a [[/sandbox|sandbox]] <small style="font-style: normal">([{{fullurl:{{ #rel2abs: /sandbox }}|action=edit}} edit])</small> {{
 
       | This template has a [[/sandbox|sandbox]] <small style="font-style: normal">([{{fullurl:{{ #rel2abs: /sandbox }}|action=edit}} edit])</small> {{
         #ifexist: {{ #rel2abs: /testcases }}
+
         #MFCifexist: {{ #rel2abs: /testcases }}
 
         |<!-- /sandbox AND /testcases --> and [[/testcases|testcases]] <small style="font-style: normal">([{{fullurl:{{ #rel2abs: /testcases }}|action=edit}} edit])</small>
 
         |<!-- /sandbox AND /testcases --> and [[/testcases|testcases]] <small style="font-style: normal">([{{fullurl:{{ #rel2abs: /testcases }}|action=edit}} edit])</small>
 
         |<!-- /sandbox BUT no /testcases -->}} for editors to experiment.
 
         |<!-- /sandbox BUT no /testcases -->}} for editors to experiment.
 
       |<!-- no /sandbox -->{{
 
       |<!-- no /sandbox -->{{
         #ifexist: {{ #rel2abs: /testcases }}
+
         #MFCifexist: {{ #rel2abs: /testcases }}
 
         | This template has [[/testcases|testcases]] <small style="font-style: normal">([{{fullurl:{{ #rel2abs: /testcases }}|action=edit}} edit])</small> for editors to experiment.
 
         | This template has [[/testcases|testcases]] <small style="font-style: normal">([{{fullurl:{{ #rel2abs: /testcases }}|action=edit}} edit])</small> for editors to experiment.
 
         }}
 
         }}
Ligne 42 : Ligne 36 :
 
   }}
 
   }}
 
}}</div>
 
}}</div>
{{{content|{{ {{ #ifexist: {{{1|{{Documentation/docname}}}}} | {{{1|{{Documentation/docname}}}}} | ns:0 }} }}}}}
+
{{{content|{{ {{ #MFCifexist: {{{1|{{Documentation/docname}}}}} | {{{1|{{Documentation/docname}}}}} | ns:0 }} }}}}}
 
</div>
 
</div>

Version du 29 novembre 2010 à 01:11

[create] Documentation