Template:Box wrapper/doc

Pages with unrecognized icon strings· 约 10 分钟阅读

这是的模板文档 。

当直接浏览时,使用变量 可能会失效,请不要-{zh-hans:使用硬编码来代替;zh-hant:寫死}- 页面名或地址。

A box wrapper can be used to make a list of boxes (E.G., events, decisions, or missions) flow dynamically with the width of the browser taken into account.

Usage[编辑]

Alternative syntax: (Use this if the content includes section tags, because they don't work inside templates.)

Example[编辑]

msg event.png

Mimar Sinan's Great Constructions

[编辑]

v1.12

Mimar Sinan planned and oversaw the construction of countless mosques, aqueducts, bathhouses, bridges, palaces, caravanserais and schools during his half-a-century long career. His masterpieces were the Selimiye and Suleymaniye Mosques in Adrianople and Constantinople respectively.

触发条件

*Event has not yet occurred.

  • The year is between 1519 and 1560.
  • owns Constantinople (151).
  • The advisor ‘Mimar Sinan’ does not exist.

触发机制

平均发生时间 (MTTH): 1000 months

事件选项与效果

Appoint him royal architect

*the modifier “Mimar Sinan” until the death of the current ruler, giving the following effect:

    • Build cost.png −15.0% Build cost

Enlist his services for a short time

*Adm.png +40 Administrative power

msg event.png

Loss of Stability

[编辑]

v1.12

This strengthening of the privileges of the nobles is severely upsetting the burghers and merchants. This is creating turmoil in our realm, and may prove disastrous in the long run.

触发条件

*has the idea group: Aristocratic ideas.

触发机制

只触发于:

  • five year pulse

Base weight: 1

事件选项与效果

Well, they are just peasants.

*Stability.png –1 Stability

msg event.png

Consulate of the Sea

[编辑]

v1.12

Our new quasi-judicial body that will administer maritime and commercial law is called the Consulate of the Sea. It gives our merchants the right to settle their commercial disputes without interference from the royal courts and in exchange we, the Crown of Aragon, receives financial support.

触发条件

*Fires only once

  • Is Aragon
  • The year is before 1500
  • Do NOT have the ruler modifier Consulate of the Sea

触发机制

平均发生时间 (MTTH):

  • 200 Months

事件选项与效果

Good!

*Aragon gets Consulate of the Sea until the death of the current ruler, giving the following effects:

    • Trade Efficiency: +20.0%
    • National Trade Income Modifier: +15.0%

msg event.png

Mimar Sinan's Great Constructions

[编辑]

v1.12

Mimar Sinan planned and oversaw the construction of countless mosques, aqueducts, bathhouses, bridges, palaces, caravanserais and schools during his half-a-century long career. His masterpieces were the Selimiye and Suleymaniye Mosques in Adrianople and Constantinople respectively.

触发条件

*Event has not yet occurred.

  • The year is between 1519 and 1560.
  • owns Constantinople (151).
  • The advisor ‘Mimar Sinan’ does not exist.

触发机制

平均发生时间 (MTTH): 1000 months

事件选项与效果

Appoint him royal architect

*the modifier “Mimar Sinan” until the death of the current ruler, giving the following effect:

    • Build cost.png −15.0% Build cost

Enlist his services for a short time

*Adm.png +40 Administrative power

msg event.png

Loss of Stability

[编辑]

v1.12

This strengthening of the privileges of the nobles is severely upsetting the burghers and merchants. This is creating turmoil in our realm, and may prove disastrous in the long run.

触发条件

*has the idea group: Aristocratic ideas.

触发机制

只触发于:

  • five year pulse

Base weight: 1

事件选项与效果

Well, they are just peasants.

*Stability.png –1 Stability

msg event.png

Consulate of the Sea

[编辑]

v1.12

Our new quasi-judicial body that will administer maritime and commercial law is called the Consulate of the Sea. It gives our merchants the right to settle their commercial disputes without interference from the royal courts and in exchange we, the Crown of Aragon, receives financial support.

触发条件

*Fires only once

  • Is Aragon
  • The year is before 1500
  • Do NOT have the ruler modifier Consulate of the Sea

触发机制

平均发生时间 (MTTH):

  • 200 Months

事件选项与效果

Good!

*Aragon gets Consulate of the Sea until the death of the current ruler, giving the following effects:

    • Trade Efficiency: +20.0%
    • National Trade Income Modifier: +15.0%

查看此模板的原始 Wikitext 源代码
▸
<includeonly>{{template doc page transcluded}}</includeonly><noinclude>{{template doc page viewed directly}}</noinclude>
A '''box wrapper''' can be used to make a list of boxes (E.G., events, decisions, or missions) flow dynamically with the width of the browser taken into account.
__NOTOC__
== Usage ==
<pre>
{{Box wrapper|

{{<Box template>|...}}
{{<Box template>|...}}
<!-- You do not need a separator between each box, just open the list before your boxes and close it at the end -->

}}
</pre>
Alternative syntax: (Use this if the content includes section tags, because they don't work inside templates.)
<pre>
{{Box wrapper}}

{{<Box template>|...}}
{{<Box template>|...}}

{{End box wrapper}}
</pre>

== Example ==
<pre>
{{Box wrapper|
{{event
|version = 1.12
|event_name = Mimar Sinan's Great Constructions
|event_text = Mimar Sinan planned and oversaw the construction of countless mosques, aqueducts, bathhouses, bridges, palaces, caravanserais and schools during his half-a-century long career. His masterpieces were the Selimiye and Suleymaniye Mosques in Adrianople and Constantinople respectively.
||trigger = *Event has not yet occurred.
*The year is between 1519 and 1560.
*owns Constantinople (151).
*The advisor ‘Mimar Sinan’ does ''not'' exist.
|mtth = 1000 months
|options = {{option
|option_text = Appoint him royal architect
|effect = *the modifier “Mimar Sinan” until the death of the current ruler, giving the following effect:
**{{icon|build cost}} {{green|−15.0%}} Build cost
}}
{{option
|option_text = Enlist his services for a short time
|effect = *{{icon|Adm}} {{green|+40}} Administrative power
}}
}}
{{event
|version = 1.12
|event_name = Loss of Stability
|event_text = This strengthening of the privileges of the nobles is severely upsetting the burghers and merchants. This is creating turmoil in our realm, and may prove disastrous in the long run.
|trigger = *has the [[idea group]]: Aristocratic ideas.
*has a [[stability]] of at least 0.
|triggered only = *five year pulse
'''Base weight: 1'''
|options = {{option
|option_text = Well, they are just peasants.
|effect = *{{icon|stability}} {{red|–1}} Stability
}}
}}
{{Event
|version = 1.12
|event_name=Consulate of the Sea
|event_text=Our new quasi-judicial body that will administer maritime and commercial law is called the Consulate of the Sea. It gives our merchants the right to settle their commercial disputes without interference from the royal courts and in exchange we, the Crown of Aragon, receives financial support.
|trigger=*Fires only once
*Is Aragon
*The year is before 1500
*Do NOT have the ruler modifier '''Consulate of the Sea'''
|mtth=*200 Months
|options=
{{option
|option_text=Good!
|effect=*Aragon gets '''Consulate of the Sea''' until the death of the current ruler, giving the following effects:
:*Trade Efficiency: {{green|+20.0%}}
:*National Trade Income Modifier: {{green|+15.0%}} }}
}}
}}
</pre>

{{Box wrapper|
{{event
|version = 1.12
|event_name = Mimar Sinan's Great Constructions
|event_text = Mimar Sinan planned and oversaw the construction of countless mosques, aqueducts, bathhouses, bridges, palaces, caravanserais and schools during his half-a-century long career. His masterpieces were the Selimiye and Suleymaniye Mosques in Adrianople and Constantinople respectively.
||trigger = *Event has not yet occurred.
*The year is between 1519 and 1560.
*owns Constantinople (151).
*The advisor ‘Mimar Sinan’ does ''not'' exist.
|mtth = 1000 months
|options = {{option
|option_text = Appoint him royal architect
|effect = *the modifier “Mimar Sinan” until the death of the current ruler, giving the following effect:
**{{icon|build cost}} {{green|−15.0%}} Build cost
}}
{{option
|option_text = Enlist his services for a short time
|effect = *{{icon|Adm}} {{green|+40}} Administrative power
}}
}}
{{event
|version = 1.12
|event_name = Loss of Stability
|event_text = This strengthening of the privileges of the nobles is severely upsetting the burghers and merchants. This is creating turmoil in our realm, and may prove disastrous in the long run.
|trigger = *has the [[idea group]]: Aristocratic ideas.
*has a [[stability]] of at least 0.
|triggered only = *five year pulse
'''Base weight: 1'''
|options = {{option
|option_text = Well, they are just peasants.
|effect = *{{icon|stability}} {{red|–1}} Stability
}}
}}
{{Event
|version = 1.12
|event_name=Consulate of the Sea
|event_text=Our new quasi-judicial body that will administer maritime and commercial law is called the Consulate of the Sea. It gives our merchants the right to settle their commercial disputes without interference from the royal courts and in exchange we, the Crown of Aragon, receives financial support.
|trigger=*Fires only once
*Is Aragon
*The year is before 1500
*Do NOT have the ruler modifier '''Consulate of the Sea'''
|mtth=*200 Months
|options=
{{option
|option_text=Good!
|effect=*Aragon gets '''Consulate of the Sea''' until the death of the current ruler, giving the following effects:
:*Trade Efficiency: {{green|+20.0%}}
:*National Trade Income Modifier: {{green|+15.0%}} }}
}}
}}