模板:Documentation:修订间差异
(奶奶们,我给zwi8テンプレートソースコード进行一个tidy up,以及从维基共享的同名模板抄来几个大概用不上的参数。) |
小无编辑摘要 |
||
| (未显示同一用户的2个中间版本) | |||
| 第1行: | 第1行: | ||
<div role=region class="documentation | <div role=region class="documentation" style="clear: both; background-color: rgba(255, 160, 77, 0.2); border: 1px solid #aaa; padding: 1rem"> | ||
{{ #if: {{{heading}}} | | {{ #if: {{{heading}}} | | ||
<div class="documentation-header" style="font: inherit; border-bottom: 1px solid #aaa; margin: 0.5rem 0 1rem;"><!-- | <div class="documentation-header" style="font: inherit; border-bottom: 1px solid #aaa; margin: 0.5rem 0 1rem;"><!-- | ||
---><h1 class="documentation-header-title" style="font-weight: bold; font-size: 1.25rem; display: inline; margin: 0; border: none;"><!-- | ---><h1 class="documentation-header-title" style="font-weight: bold; font-size: 1.25rem; display: inline; margin: 0; border: none;"><!-- | ||
------>{{ #if: {{{heading|}}} | {{{heading}}} | {{SUBJECTSPACE}}文档 }}<!-- | ------>{{ #if: {{{heading|}}} | {{{heading}}} | {{SUBJECTSPACE}}文档 }}<!-- | ||
---></h1><!-- | ---></h1> <!-- | ||
--->{{ #if: {{{1|}}} {{ #if: {{{content|}}} | | 1 }} |<!-- | --->{{ #if: {{{1|}}} {{ #if: {{{content|}}} | | 1 }} |<!-- | ||
-----><span class=plainlinks><!-- | -----><span class=plainlinks><!-- | ||
| 第16行: | 第16行: | ||
}} | }} | ||
{{ #if: {{{content|}}} | {{ #if: {{{content|}}} | ||
| {{{content}}} | |||
| {{ #ifexist: {{ #if: {{{1|}}} | {{{1}}} | {{FULLPAGENAME}}/doc }} | | |||
{{ {{ #if: {{{1|}}} | {{{1}}} | {{FULLPAGENAME}}/doc }} }} | |||
}} | |||
}} | }} | ||
</div> | </div> | ||