Template:Entry button:修订间差异

(创建页面,内容为“<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|}}}|{{!}}'''Visible&nbsp;if:'''
<!---->{{#if:{{{visible|}}}|{{!}}''' 可见条件:'''
<!---->{{{visible}}}|}}
<!---->{{{visible}}}|}}
<!---->{{!}}- valign="top"
<!---->{{!}}- valign="top"
<!---->{{!}}{{#if:{{{trigger|}}}|'''Enabled&nbsp;if:'''
<!---->{{!}}{{#if:{{{trigger|}}}|''' 完成条件:'''
<!---->{{{trigger}}}|}}
<!---->{{{trigger}}}|}}
<!---->{{!}}- valign="top"
<!---->{{!}}- valign="top"
<!---->{{!}}'''Effects:'''
<!---->{{!}}''' 效果:'''
<!---->{{{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的最新版本

[阅读] [编辑]Template-info.png 模板文档


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.
  • None
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 =
}}
Journal button.png
Organize the Confederation
Our control over a selection of German polities allows for us to reorganize the territory into a restored and rationalized Confederation of the Rhine, halting Prussian or Austrian ambitions in the region.

可见条件:
  • Confederation of the Rhine does not exist
完成条件:
  • Confederation of the Rhine does not exist
  • 4 or more states:
    • With North German or South German homelands
    • In the Rhine, North Germany, or South Germany strategic regions
    • Owned by either:
      • This country
      • A non-Personal Union subject:
        • With North German or South German primary culture
        • With a capital in the Rhine, North Germany, or South Germany strategic regions
效果:
  • Trigger event The Second Rheinbundakte
    • (Creates 没有结果 from all German subjects and unincorporated states in Rhine, North Germany, or South Germany strategic regions)