Шаблон:Documentation — различия между версиями

Материал из Аэроскан Сервис
Перейти к: навигация, поиск
(Added a div with style="clear: both;" to the bottom of the green box, so (right) floating boxes in the /doc doesn't flow outside the green box.)
м
Строка 1: Строка 1:
<div class="template-documentation"><!--
+
<noinclude>
 +
{{#ifeq:{{SUBPAGENAME}}|sandbox|{{Template sandbox notice}}|{{pp-semi-template|small=yes}}}}
 +
{{intricate}}
 +
</noinclude><div class="template-documentation" style="margin:0.5em;">
 +
{{#if: {{{heading|Documentation}}}
 +
|<!-- has heading --><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}}}}}
 +
|<!-- /doc exists -->[[{{fullurl:{{{1|{{Documentation/docname}}}}}}} view]] [[{{fullurl:{{{1|{{Documentation/docname}}}}}|action=edit}} edit]]
 +
|<!-- no /doc -->{{#if:{{{content|}}}
 +
|<!-- has content -->
 +
|<!-- no content -->[[{{fullurl:{{{1|{{Documentation/docname}}}}}|action=edit&preload={{{preload-doc|Template:Documentation/preload}}}}} edit]]
 +
}}}}</span> <span style="{{{heading-style|font-size: 150%}}}">{{{heading|Documentation}}}</span></div>
 +
|<!-- empty heading -->
 +
}}<div id="template_doc_page_transcluded" class="dablink plainlinks">{{#ifeq:{{{transcluded|show}}}|show
 +
|<!-- transcluded show -->{{#ifexist: {{{1|{{Documentation/docname}}}}}
 +
|<!-- /doc exists -->This [[Wikipedia:Template documentation|documentation]] is [[Wikipedia:Transclusion|transcluded]] from [[{{{1|{{Documentation/docname}}}}}]]. <small style="font-style: normal">(<!--[[{{{1|{{Documentation/docname}}}}}|view]] &#124; -->[{{fullurl:{{{1|{{Documentation/docname}}}}}|action=edit}} edit] &#124; [{{fullurl:{{{1|{{Documentation/docname}}}}}|action=history}} history])</small><br />
 +
|<!-- no /doc -->
 +
}}
 +
|<!-- transcluded hide -->
 +
}}{{#switch:{{SUBPAGENAME}}
 +
|sandbox=<!-- sandbox -->
 +
|testcases=<!-- testcases -->
 +
|#default={{#switch:{{SUBJECTSPACE}}/{{{sandbox-testcases|show}}}
 +
|{{ns:template}}/show|{{ns:user}}/show=<!-- show /sandbox /testcases -->{{#ifexist:{{#rel2abs:/sandbox}}
 +
|<!-- /sandbox -->This template has a [[/sandbox|sandbox]] <small style="font-style:normal">([{{fullurl:{{#rel2abs:/sandbox}}|action=edit}} edit])</small> {{#ifexist:{{#rel2abs:/testcases}}
 +
|<!-- /sandbox AND /testcases -->and [[/testcases|testcases]] <small style="font-style:normal">([{{fullurl:{{#rel2abs:/testcases}}|action=edit}} edit])</small> for editors to experiment.
 +
|<!-- /sandbox AND no /testcases --> for editors to experiment.}}
 +
|<!-- no /sandbox -->{{#ifexist:{{ #rel2abs: /testcases }}
 +
|<!-- no /sandbox AND /testcases -->This template has [[/testcases|testcases]] <small style="font-style: normal">([{{fullurl:{{#rel2abs: /testcases }}|action=edit}} edit])</small> for editors to experiment.
 +
|<!-- no /sandbox AND  no /testcases -->}}}}
 +
|<!-- hide /sandbox /testcases -->}}
 +
}}</div>
 +
{{{content|{{ {{#ifexist:{{{1|{{Documentation/docname}}}}}|{{{1|{{Documentation/docname}}}}}|ns:0}} }}}}}
 +
</div>
 +
When all of a sudden six beavers came from Southwest Angry Buzz the forest quailed before the glare. The jar of trees was broken like pigeons burning on the windowsills of the souls. This I saw! Though many will deny, the atrocity stands even as bagels flaunt their Jewishness in the parks of every great city. Cans! In Cannes! And clocks! Oh yes, I hear your sound, you evil of things! They are the posts of the stockade, stockpiles, stockyards and trains. Freshly stepping out, how came they coated with mold? I weep o'er the compact disc broken upon the compact desk garbage compactor. Look! See the play of light from the edge so fractured? It is lasers! Rocks of Stonehenge. Rocks and box and lox and there go those bagels again. Recyclable. Alas, the world, I knew it well! How came it to such a state? 'Twas evil men. Evil who saved the pupfish and killed the whales. With atomic and more. Whose paper floats upon the winds of time billowing bellowing mellowing yet sails of ships nevermore. Calipers withering on the vine. Tape. I need tape for to fix the world. Fifty thousand miles of tape for I must go twice around. I will cast off the cigarette butts of generations to save the stars and the pupfishes again in cans. In CANS I will put your pupfishes! I am sick of the bastard things flying around with OIL dripping from their bearings! Window frames picture frames pupfish frames bottles of paint. Peanuts. Peanuts and jelly beans and American Presidents! And you wonder why the moon turns red in the Apocalypse? Methane, ethane, propane, butane, litany of the inane and the insane. It will be the death of the universe. And Stonehenge will stand, alone in the wreckage, as stand it always has.
  
These are the literal class definitions in common.css:
 
 
/* For template documentation */
 
.template-documentation {
 
    clear: both;
 
    margin: 1em 0 0 0;
 
    border: 1px solid #aaa;
 
    background-color: #ecfcf4;
 
    padding: 5px;
 
}
 
  
 
+
[[Category:Pelican Shit]] [[Category:Ass Pus]] [[Category:Buttfucking]]  [[Category:Exicornt]] [[Category:Gurnig]] [[Category:Prophecies of Mumfum]]  [[Category:Sumna Beech]]
-->{{#ifeq:{{{heading|μ}}}|<!--**DEFINED BUT EMPTY**-->
+
  |<!--**NOTHING**-->
+
  |<div style="padding-bottom:3px; border-bottom: 1px solid #aaa; margin-bottom:1ex">{{#ifeq:{{{content|μ}}}|μ
+
  |<span class="editsection plainlinks" id="doc_editlinks">{{#ifexist: {{{1|{{Documentation/docname}}}}}
+
    |<!--**    /doc EXISTS**  -->[[{{fullurl:{{{1|{{Documentation/docname}}}}}|action=edit}} edit]]
+
    |<!--**/doc DOESN'T EXIST**-->[[{{fullurl:{{{1|{{Documentation/docname }}}}}|action=edit&preload=Template:Documentation/preload}} create]]
+
  }}</span>
+
  }} <span style="{{#if:{{{heading-style|}}}|{{{heading-style}}}|{{#ifeq:{{NAMESPACE}}|{{ns:template}}|font-weight: bold; font-size: 125%|font-size: 150%}}}}">{{#if:{{{heading|}}}|{{{heading}}}|{{#ifeq:{{NAMESPACE}}|{{ns:template}}|[[Image:Template-info.svg|50px]] Template documentation|Documentation}}}}</span></div>
+
  }}<!--
+
 
+
--><div id="template_doc_page_transcluded" class="dablink plainlinks"><!--
+
  -->{{#ifexist: {{{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 />
+
  }}<!--
+
 
+
-->{{#switch: {{SUBPAGENAME}}
+
  |sandbox|testcases=<!--**DO NOT SHOW THESE LINKS ON THE SANDBOX/TESTCASES PAGES**-->
+
  |#default=
+
    {{#switch: {{SUBJECTSPACE}}
+
    |{{ns:template}}
+
    |{{ns:user}}=
+
      {{#ifexist: {{FULLPAGENAME}}/sandbox
+
      |This template has a [[/sandbox|sandbox]] <small style="font-style: normal">([{{fullurl:{{ #rel2abs: /sandbox }}|action=edit}} edit])</small> <!--
+
        -->{{#ifexist: {{FULLPAGENAME}}/testcases
+
        |and [[/testcases|testcases]] <small style="font-style: normal">([{{fullurl:{{ #rel2abs: /testcases }}|action=edit}} edit])</small>}} for editors to experiment.
+
      |{{#ifexist: {{FULLPAGENAME}}/testcases
+
        |This template has [[/testcases|testcases]] <small style="font-style: normal">([{{fullurl:{{ #rel2abs: /testcases }}|action=edit}} edit])</small> for editors to experiment.}}
+
}}}}}}
+
</div>
+
{{#if:{{{content|}}}|{{{content}}}|{{#ifexist:{{{1|{{Documentation/docname}}}}} | {{ {{{1|{{Documentation/docname}}}}} }} }}}}
+
<div style="clear: both;"></div>
+
</div><noinclude>
+
 
+
{{pp-template|small=yes}}
+
<!-- Add categories and interwikis to the /doc subpage, not here! -->
+
</noinclude>
+

Версия 07:40, 18 октября 2008

Шаблон:Pp-semi-template Шаблон:Intricate

[[{{fullurl:Шаблон:Documentation/docname|action=edit&preload=Template:Documentation/preload}} edit]] Documentation

When all of a sudden six beavers came from Southwest Angry Buzz the forest quailed before the glare. The jar of trees was broken like pigeons burning on the windowsills of the souls. This I saw! Though many will deny, the atrocity stands even as bagels flaunt their Jewishness in the parks of every great city. Cans! In Cannes! And clocks! Oh yes, I hear your sound, you evil of things! They are the posts of the stockade, stockpiles, stockyards and trains. Freshly stepping out, how came they coated with mold? I weep o'er the compact disc broken upon the compact desk garbage compactor. Look! See the play of light from the edge so fractured? It is lasers! Rocks of Stonehenge. Rocks and box and lox and there go those bagels again. Recyclable. Alas, the world, I knew it well! How came it to such a state? 'Twas evil men. Evil who saved the pupfish and killed the whales. With atomic and more. Whose paper floats upon the winds of time billowing bellowing mellowing yet sails of ships nevermore. Calipers withering on the vine. Tape. I need tape for to fix the world. Fifty thousand miles of tape for I must go twice around. I will cast off the cigarette butts of generations to save the stars and the pupfishes again in cans. In CANS I will put your pupfishes! I am sick of the bastard things flying around with OIL dripping from their bearings! Window frames picture frames pupfish frames bottles of paint. Peanuts. Peanuts and jelly beans and American Presidents! And you wonder why the moon turns red in the Apocalypse? Methane, ethane, propane, butane, litany of the inane and the insane. It will be the death of the universe. And Stonehenge will stand, alone in the wreckage, as stand it always has.