“抑青饼”与“Template:Dmbox”:页面之间的差异
外观
(页面间差异)
删除的内容 添加的内容
批量导入方剂数据 |
从 zhwiki 导入并适配 |
||
| 第1行: | 第1行: | ||
<table id=" |
|||
{{方剂条目 |
|||
{{#switch:{{{type|}}} |
|||
|方名=抑青饼:《扁鹊心书·神方》 |
|||
| setindex = setindexbox |
|||
|方源=《[[扁鹊心书·神方]]》 |
|||
| disambig <!-- disambig = default --> |
|||
|组成=[[防风]]、[[薄荷]]、[[桔梗]]<sub>炒,各一两</sub>,[[甘草]]<sub>炙</sub>、[[青黛]]<sub>净,各五钱</sub>,[[冰片]]<sub>四分</sub> |
|||
| #default = disambigbox |
|||
|用法=上为末,炼蜜为丸,如[[芡实]]大,或捏作饼。[[生姜]]汤送下。 |
|||
}}" class="metadata plainlinks dmbox |
|||
|功用=清膈化痰,降热火。 |
|||
{{#switch:{{{type|}}} |
|||
|主治=小儿惊风。 |
|||
| setindex = dmbox-setindex |
|||
| disambig <!-- disambig = default --> |
|||
| #default = dmbox-disambig |
|||
}}" style="{{{style|}}}"> |
|||
<tr> |
|||
{{#ifeq:{{{image|}}}|none |
|||
| <!-- No image. Cell with some width or padding necessary for text cell to have 100% width. --><td class="mbox-empty-cell"></td> |
|||
| <td class="mbox-image" style="padding: 2px 0 2px 0.4em;"> |
|||
{{#if:{{{image|}}} |
|||
| {{{image}}} |
|||
| {{#switch:{{{type|}}} |
|||
| setindex = [[File:List gray.svg|30px]] |
|||
| disambig <!-- disambig = default --> |
|||
| #default = [[File:Disambig gray.svg|30px]] |
|||
}} |
|||
}}</td> |
|||
}}<!-- |
|||
Magic word for disambiguation pages: |
|||
-->{{#ifeq:{{{type|}}}|disambig|__DISAMBIG__|}} |
|||
<td class="mbox-text" style="padding: 0.25em 0.4em; {{{textstyle|}}}"> {{{text}}} </td> |
|||
{{#if:{{{imageright|}}} |
|||
| <td class="mbox-imageright" style="padding: 2px 0.4em 2px 0;"> {{{imageright}}} </td> |
|||
}} |
}} |
||
</tr> |
|||
</table><!-- |
|||
Detect and report usage with faulty "type" parameter: |
|||
-->{{#switch:{{{type|}}} |
|||
| <!-- No type fed, is also valid input --> |
|||
| disambig |
|||
| setindex = <!-- Do nothing, valid "type" --> |
|||
| #default = <div style="text-align: center;">This message box is using an invalid "type={{{type|}}}" parameter and needs fixing.</div>[[Category:需要修复的訊息框|{{main other|Main:}}{{FULLPAGENAME}}]]<!-- Sort on namespace --> |
|||
}}<!-- |
|||
Magic word for disambiguation pages: |
|||
-->{{#ifeq:{{{type|}}}|disambig|__DISAMBIG__|}}<!-- |
|||
Categorization: |
|||
-->{{#switch:{{{type|}}} |
|||
| setindex = |
|||
{{category handler |
|||
| main = [[Category:全部同类索引条目]] |
|||
| nocat = {{{nocat|}}} <!--So "nocat=true" works--> |
|||
| page = {{{page|}}} <!--For testing--> |
|||
}} |
|||
| disambig <!-- disambig = default --> |
|||
| #default = |
|||
{{category handler |
|||
| main = [[Category:全部主条目消歧义页面]][[Category:全部消歧义页面]] |
|||
| template = [[Category:消歧義訊息模板]] <!-- Don't categorize on template pages. --> |
|||
| other = [[Category:全部消歧义页面]] |
|||
| nocat = {{{nocat|}}} <!--So "nocat=true" works--> |
|||
| page = {{{page|}}} <!--For testing--> |
|||
}} |
|||
}}<noinclude> |
|||
{{documentation}} |
|||
<!-- Add categories to the /doc subpage and interwikis to Wikidata, not here! --> |
|||
</noinclude> |
|||