Шаблон:Documentation/core — различия между версиями
Материал из Аэроскан Сервис
(few tweaks: add "please", link /doc again, add space before "Subpages") |
(allow link box parameter to specify custom text for link box) |
||
| Строка 68: | Строка 68: | ||
| style = background-color: #ecfcf4; | | style = background-color: #ecfcf4; | ||
| textstyle = font-style: italic; | | textstyle = font-style: italic; | ||
| − | | text = | + | | text = {{#if:{{{link box|}}} <!-- Check if content of link box is specified --> |
| − | + | |{{{link box}}} <-- Show customised link box --> | |
| + | |{{#if: {{{doc exist|yes}}} | ||
| <!--/doc exists, link to it--> | | <!--/doc exists, link to it--> | ||
The above [[Wikipedia:Template documentation|documentation]] is [[Wikipedia:Transclusion|transcluded]] from [[{{{docpage|{{FULLPAGENAME}}/doc}}}]]. <small style="font-style: normal">([{{fullurl:{{{docpage|{{FULLPAGENAME}}/doc}}}|action=edit}} edit] | [{{fullurl:{{{docpage|{{FULLPAGENAME}}/doc}}}|action=history}} history])</small> <br> | The above [[Wikipedia:Template documentation|documentation]] is [[Wikipedia:Transclusion|transcluded]] from [[{{{docpage|{{FULLPAGENAME}}/doc}}}]]. <small style="font-style: normal">([{{fullurl:{{{docpage|{{FULLPAGENAME}}/doc}}}|action=edit}} edit] | [{{fullurl:{{{docpage|{{FULLPAGENAME}}/doc}}}|action=history}} history])</small> <br> | ||
| Строка 100: | Строка 101: | ||
| #default =  [[Special:PrefixIndex/{{{template page|{{FULLPAGENAME}}}}}/|Subpages of this page]]. | | #default =  [[Special:PrefixIndex/{{{template page|{{FULLPAGENAME}}}}}/|Subpages of this page]]. | ||
}} | }} | ||
| + | }} | ||
}} | }} | ||
}}<!-- | }}<!-- | ||