(创建页面,内容为“<includeonly><div style="color:#c2bdb8; width:288px; margin-right:5px;"><div class="journal_button">288px|link=</div><div class="button_title" style="position: relative; text-align: center; margin: -32px 2px 11px;"><span class="tooltip" style="border-bottom: 1px dotted;">'''{{{button_name}}}'''<div class="tooltiptext" style="color: #c2bdb8; background: #43393b; border: solid #b19656; border-radius: 10px; margin-left:-11px;"> {<!---->…”) |
小无编辑摘要 |
||
第6行: | 第6行: | ||
<!---->{{!}}<hr/>|}} | <!---->{{!}}<hr/>|}} | ||
<!---->{{!}}- valign="top" | <!---->{{!}}- valign="top" | ||
<!---->{{#if:{{{visible|}}}|{{!}}''' | <!---->{{#if:{{{visible|}}}|{{!}}''' 可见条件:''' | ||
<!---->{{{visible}}}|}} | <!---->{{{visible}}}|}} | ||
<!---->{{!}}- valign="top" | <!---->{{!}}- valign="top" | ||
<!---->{{!}}{{#if:{{{trigger|}}}|''' | <!---->{{!}}{{#if:{{{trigger|}}}|''' 完成条件:''' | ||
<!---->{{{trigger}}}|}} | <!---->{{{trigger}}}|}} | ||
<!---->{{!}}- valign="top" | <!---->{{!}}- valign="top" | ||
<!---->{{!}}''' | <!---->{{!}}''' 效果:''' | ||
<!---->{{{effect|*None}}} | <!---->{{{effect|*None}}} | ||
<!---->{{!}}<!---->}</div></span></div></div></includeonly> | <!---->{{!}}<!---->}</div></span></div></div></includeonly> | ||
<noinclude>{{template doc}}[[Category:Templates]]</noinclude> | <noinclude>{{template doc}}[[Category:Templates]]</noinclude> |
2024年7月20日 (六) 08:59的最新版本
Entry button can be used to display the buttons of journal entries in {{journal entry}}
infoboxes.
Parameter
Parameter | Description | Default | Status |
---|---|---|---|
button_name | The title/name of the button. | empty | required |
button_text | The flavor text of the button. | empty | optional |
effect | Effects of the button. |
|
required |
visible | Conditions to see the button. | empty | optional |
trigger | Conditions to click/use the button. | empty | optional |
Usage
{{Entry button |button_name = |button_text = <!-- desired --> |visible = <!-- as needed --> |trigger = <!-- common --> |effect = }}