Module:Documentation/styles.css and Template:Documentation subpage: Difference between pages

From Frontierpedia, the Microsoft Agent encyclopedia
(Difference between pages)
en>Izno
(-toolbar)
 
en>Pathoschild
m (typo)
 
Line 1: Line 1:
/* Not quite live so don't protect yet. */
{{#ifeq:{{lc:{{SUBPAGENAME}}}}|{{{override|doc}}}|
.documentation,
<!-- on documentation subpages -->
.documentation-metadata {
<table style="width:100%; border:1px solid #CCC;">
border: 1px solid #a2a9b1;
  <tr style="vertical-align:top;">
background-color: #ecfcf4;
    <td style="width:30px;"> [[Image:Edit-paste.svg|30px]]</td>
clear: both;
    <td>This is a [[template:documentation|documentation subpage]], where instructions, categories, or other information are stored for [[w:Project:Transclusion costs and benefits|technical reasons]]. To view the {{SUBJECTSPACE}} page itself, see {{{1|[[{{SUBJECTSPACE}}:{{BASEPAGENAME}}]]}}}.</td>
}
  </tr>
 
</table>{{#if: {{{inhib|{{{inhibit|}}}}}} |<!-- skip -->|[[category:Documentation subpages<noinclude>| {{PAGENAME}}</noinclude>]]}}
.documentation {
|
margin: 1em 0 0 0;
<!-- on template pages -->
padding: 1em;
''This [[Wikipedia:Template documentation|documentation]] is [[Wikipedia:Transclusion|transcluded]] from {{{2|[[{{FULLPAGENAME}}}/doc]]}}}''. <small>([{{fullurl:{{{1|{{FULLPAGENAME}}}}/doc|action=edit}} edit] • [{{fullurl:{{{1|{{FULLPAGENAME}}}}}/doc|action=history}} history])</small>{{#ifexist: {{#rel2abs: /sandbox }}| {{#ifexist: {{#rel2abs: /testcases}}| <br>''This template has a [[/sandbox|sandbox]]'' <small>([{{fullurl:{{FULLPAGENAME}}/sandbox|action=edit}} edit])</small> ''and [[/testcases|testcases]]'' for editors to experiment.}}<!-- else don't show when just 1 of /sandbox or /testcases exists -->}}
}
}}<noinclude>
 
{{pp-semi-template|small=yes}}
.documentation-metadata {
{{documentation}}
margin: 0.2em 0; /* same margin left-right as .documentation */
<!-- Add categories and interwikis to the /doc subpage, not here! -->
    font-style: italic;
</noinclude>
    padding: 0.4em 1em; /* same padding left-right as .documentation */
}
 
.documentation-startbox {
padding-bottom: 3px;
border-bottom: 1px solid #aaa;
margin-bottom: 1ex;
}
 
.documentation-heading {
font-weight: bold;
font-size: 125%;
}
 
.documentation-clear { /* Don't want things to stick out where they shouldn't. */
clear: both;
}
 
.documentation-toolbar {
font-style: normal;
font-size: 85%;
}

Revision as of 01:25, 2 October 2007

This documentation is transcluded from [[Template:Documentation subpage}/doc]]. ([{{fullurl:{Template:1/doc|action=edit}} edit] • history) Template:Pp-semi-template