תבנית:Documentation/start box: הבדלים בין גרסאות

מתוך The Crowdsourced Resource-Based Economy Knowledgebase
קפיצה אל: ניווט, חיפוש
מ (גרסה אחת)
(let's see about reusing this for modules at some point...)
שורה 8: שורה 8:
 
   #if: {{{content|}}}
 
   #if: {{{content|}}}
 
   |  
 
   |  
   | <!--Add the [edit][purge] or [create] links-->
+
   | <!--Add the [view][edit][history][purge] or [create] links-->
 
     <span class="editsection plainlinks" id="doc_editlinks">{{
 
     <span class="editsection plainlinks" id="doc_editlinks">{{
 
     #if: {{{doc exist|yes}}}
 
     #if: {{{doc exist|yes}}}
     | [[{{fullurl:{{{docpage|{{FULLPAGENAME}}/doc}}}|action=edit}} edit]] [[{{fullurl:{{{docpage|{{FULLPAGENAME}}/doc}}}|action=history}} history]] [{{purge|purge}}]  
+
     | &#91;[[{{{docpage|{{FULLPAGENAME}}/doc}}}|view]]&#93; [[{{fullurl:{{{docpage|{{FULLPAGENAME}}/doc}}}|action=edit}} edit]] [[{{fullurl:{{{docpage|{{FULLPAGENAME}}/doc}}}|action=history}} history]] [{{purge|purge}}]  
 
     | <!--/doc doesn't exist-->
 
     | <!--/doc doesn't exist-->
 
       [[{{fullurl:{{{docpage|{{FULLPAGENAME}}/doc}}}| action=edit&preload={{
 
       [[{{fullurl:{{{docpage|{{FULLPAGENAME}}/doc}}}| action=edit&preload={{
שורה 32: שורה 32:
 
     {{#switch: {{SUBJECTSPACE}}  
 
     {{#switch: {{SUBJECTSPACE}}  
 
     | {{ns:Template}} = [[File:Template-info.png|50px|link=|alt=Documentation icon]] Template documentation
 
     | {{ns:Template}} = [[File:Template-info.png|50px|link=|alt=Documentation icon]] Template documentation
 +
    | {{ns:Module}} = [[File:Template-info.png|50px|link=|alt=Documentation icon]] Module documentation
 
     | {{ns:File}} = Summary
 
     | {{ns:File}} = Summary
 
     | #default = Documentation
 
     | #default = Documentation
שורה 39: שורה 40:
 
     {{{heading|}}}
 
     {{{heading|}}}
 
   }}</span></div>
 
   }}</span></div>
}}
+
}}<noinclude><!-- close the div --></div>
 +
 
 +
{{pp-template}}
 +
<!-- Add categories and interwikis to the /doc subpage, not here! -->
 +
</noinclude>

גרסה מתאריך 07:13, 19 במרץ 2013

[view] [edit] [history] [purge] 50px Template documentation
כלים אישיים

גרסאות שפה
מרחבי שם
פעולות
ניווט
תיבת כלים
שיתוף