Aus EnzyklopAtys
Zeile 13: | Zeile 13: | ||
|palette= | |palette= | ||
|content= | |content= | ||
− | "TheBigBox" is a model to use easily sections for any kind of layout of pages without using tables and using the same graphical chart anywhere.< | + | "TheBigBox" is a model to use easily sections for any kind of layout of pages without using tables and using the same graphical chart anywhere. |
− | ''This is the " '''U''' " type of "TheBigBox".'' No palette gives default palette. | + | ---- |
+ | <div align="right">''This is the " '''U''' " type of "TheBigBox".'' No palette gives default palette.</div> | ||
}} | }} | ||
{{TheBigBox | {{TheBigBox | ||
Zeile 21: | Zeile 22: | ||
|palette= | |palette= | ||
|content= | |content= | ||
− | {<nowiki>{TheBigBox|type=type|title=title|image=image|content=content}</nowiki>}< | + | <code>{<nowiki>{TheBigBox|type=type|title=title|image=image|palette=palette|content=content|align=text-align}</nowiki>}</code> |
− | ''This is the " '''default''' " type of "TheBigBox", wirhout '''type''' good value.'' | + | ---- |
+ | <div align="right">''This is the " '''default''' " type of "TheBigBox", wirhout '''type''' good value.''</div> | ||
}} | }} | ||
{{TheBigBox | {{TheBigBox | ||
Zeile 29: | Zeile 31: | ||
|palette= | |palette= | ||
|content= '''Parameters''' | |content= '''Parameters''' | ||
− | *'''type''': | + | <div align= "left"> |
− | *'''title''':the bar | + | *'''type''':box type for the detailed section below. |
− | *'''image''':icon for the title. If | + | *'''title''':the title bar. If it is empty, then there is no bar. |
+ | *'''image''':icon for the title. If it is empty, then the Ryzom logo. | ||
*'''palette''':chose a color in the chart [[template:ColorAtys|color of Atys]] | *'''palette''':chose a color in the chart [[template:ColorAtys|color of Atys]] | ||
− | *'''content''':content of the section. Keep mind: some bugs when parsing wikis commands.< | + | *'''content''':content of the section. Keep mind: some bugs when parsing wikis commands. |
− | ''This is the " '''U''' " type of "TheBigBox", wirhout '''title'''.'' | + | *'''align''' eneral alignment of the text in the box. The values are '''''left''''',''''' center''''',''''' right''''',''''' justify'''''. If empty, the alignment takes the default value assigned to the box. Note that the text in this box has been manually aligned in HTML <code><nowiki><div align="left">...</div></nowiki></code>. "'The reason is basically due to an error in the bullet lists.''' |
+ | By default, boxes of type U and C have their text centered, since this mode offers greater adaptability to screen sizes, avoids the problems of hyphens and therefore large spaces between words. However, in some cases, aesthetics will push to choose another alignment. The other boxes have the default text aligned to the left.</div> | ||
+ | ---- | ||
+ | <div align="right">''This is the " '''U''' " type of "TheBigBox", wirhout '''title'''.''</div> | ||
}} | }} | ||
{{TheBigBox | {{TheBigBox | ||
Zeile 41: | Zeile 47: | ||
|image=R2_scenario_admin.png | |image=R2_scenario_admin.png | ||
|palette= | |palette= | ||
− | |content= | + | |content= |
− | *''' | + | <div align="left"> |
− | *''' | + | Types for boxes that occupy the entire width of the box containing them: |
− | *''' | + | *'''U'''= full width, thick relief, colored background, centered text by default. |
− | *''' | + | *'''u''' o by default= full width, thin relief, pastel background, centered text by default. |
− | *''' | + | Types for small floating boxes in the box containing them: |
− | *''' | + | *On the left |
− | *''' | + | **'''L'''= 1/3 of the width, floats to the left of the page, thick relief, colored background, left-aligned text by default. |
− | *''' | + | **'''l'''(lowercase L)= 2/3 of the width, floats to the left of the page, clear relief, pastel background, left-aligned text by default. |
− | + | *In the center | |
− | ''This is the " '''d''' " type of "TheBigBox".'' | + | **'''C'''= 1/3 of the width, page centered, thick relief, colored background, left-aligned text by default. |
+ | **'''c'''= 1/3 of the width, page centered, fine relief, pastel background, left-aligned text by default. | ||
+ | *To the right | ||
+ | **'''R'''= 1/3 of the width, floats to the right of the page, thick relief, colored background, left-aligned text by default. | ||
+ | **'''r'''= 2/3 of the width, floats to the right of the page, clear relief, pastel background, left-aligned text by default. | ||
+ | </div> | ||
+ | ---- | ||
+ | <div align="right">''This is the " '''d''' " type of "TheBigBox".''</div> | ||
}} | }} | ||
{{TheBigBox | {{TheBigBox | ||
Zeile 60: | Zeile 73: | ||
Sed ut tum ad senem senex de senectute, sic hoc libro ad amicum amicissimus scripsi de amicitia. Tum est Cato locutus, quo erat nemo fere senior temporibus illis, nemo prudentior; nunc Laelius et sapiens (sic enim est habitus) et amicitiae gloria excellens de amicitia loquetur. Tu velim a me animum parumper avertas, Laelium loqui ipsum putes. C. Fannius et Q. Mucius ad socerum veniunt post mortem Africani; ab his sermo oritur, respondet Laelius, cuius tota disputatio est de amicitia, quam legens te ipse cognosces. | Sed ut tum ad senem senex de senectute, sic hoc libro ad amicum amicissimus scripsi de amicitia. Tum est Cato locutus, quo erat nemo fere senior temporibus illis, nemo prudentior; nunc Laelius et sapiens (sic enim est habitus) et amicitiae gloria excellens de amicitia loquetur. Tu velim a me animum parumper avertas, Laelium loqui ipsum putes. C. Fannius et Q. Mucius ad socerum veniunt post mortem Africani; ab his sermo oritur, respondet Laelius, cuius tota disputatio est de amicitia, quam legens te ipse cognosces. | ||
}} | }} | ||
+ | |||
{{TheBigBox | {{TheBigBox | ||
− | |type= | + | |type=U |
− | |title= | + | |title=A very useful U model without content to realign floating boxes, and below without title |
|image=R2_scenario_admin.png | |image=R2_scenario_admin.png | ||
|palette= | |palette= | ||
− | |||
− | |||
}} | }} | ||
{{TheBigBox | {{TheBigBox | ||
|type=U | |type=U | ||
− | |||
− | |||
|palette= | |palette= | ||
}} | }} | ||
+ | {{TheBigBox}} | ||
{{TheBigBox | {{TheBigBox | ||
− | |type= | + | |type=c |
+ | |title= c (lower case) type of box | ||
+ | |image=R2_scenario_admin.png | ||
|palette= | |palette= | ||
+ | |content= | ||
+ | '''The 3 next samples are very useful to realign floating boxes.''' | ||
}} | }} | ||
− | |||
{{TheBigBox | {{TheBigBox | ||
|type=C | |type=C | ||
− | |title= C (upper case) type of box | + | |title=C (upper case) type of box |
|image=R2_scenario_admin.png | |image=R2_scenario_admin.png | ||
|palette= | |palette= | ||
|content= | |content= | ||
+ | <code>{<nowiki>{TheBigBox |title= A title|image=R2_scenario_admin.png}</nowiki>}</code><br/> | ||
+ | '''ᐁ'''gives that'''ᐁ''' | ||
{{TheBigBox | {{TheBigBox | ||
|type=U | |type=U | ||
Zeile 91: | Zeile 107: | ||
|palette= | |palette= | ||
}} | }} | ||
− | {<nowiki>{TheBigBox |type=U | + | <code>{<nowiki>{TheBigBox |type=U}</nowiki>}</code><br/> |
− | + | '''ᐁ'''gives that'''ᐁ''' | |
{{TheBigBox | {{TheBigBox | ||
|type=U | |type=U | ||
|palette= | |palette= | ||
}} | }} | ||
− | {<nowiki>{TheBigBox | + | <code>{<nowiki>{TheBigBox}</nowiki>}</code><br/> |
− | + | '''ᐁ'''gives that'''ᐁ''' | |
{{TheBigBox}} | {{TheBigBox}} | ||
− | |||
}} | }} | ||
Version vom 17. Februar 2021, 14:21 Uhr
Usage of the TheBigBox template
Syntaxis
{{TheBigBox|type=type|title=title|image=image|palette=palette|content=content|align=text-align}}
- type:box type for the detailed section below.
- title:the title bar. If it is empty, then there is no bar.
- image:icon for the title. If it is empty, then the Ryzom logo.
- palette:chose a color in the chart color of Atys
- content:content of the section. Keep mind: some bugs when parsing wikis commands.
- align eneral alignment of the text in the box. The values are left, center, right, justify. If empty, the alignment takes the default value assigned to the box. Note that the text in this box has been manually aligned in HTML
<div align="left">...</div>
. "'The reason is basically due to an error in the bullet lists.
"type" values
Types for boxes that occupy the entire width of the box containing them:
- U= full width, thick relief, colored background, centered text by default.
- u o by default= full width, thin relief, pastel background, centered text by default.
Types for small floating boxes in the box containing them:
- On the left
- L= 1/3 of the width, floats to the left of the page, thick relief, colored background, left-aligned text by default.
- l(lowercase L)= 2/3 of the width, floats to the left of the page, clear relief, pastel background, left-aligned text by default.
- In the center
- C= 1/3 of the width, page centered, thick relief, colored background, left-aligned text by default.
- c= 1/3 of the width, page centered, fine relief, pastel background, left-aligned text by default.
- To the right
- R= 1/3 of the width, floats to the right of the page, thick relief, colored background, left-aligned text by default.
- r= 2/3 of the width, floats to the right of the page, clear relief, pastel background, left-aligned text by default.
← U type of box without "image"
A very useful U model without content to realign floating boxes, and below without title
c (lower case) type of box
C (upper case) type of box
{{TheBigBox |title= A title|image=R2_scenario_admin.png}}
ᐁgives thatᐁ
A title
{{TheBigBox |type=U}}
ᐁgives thatᐁ
{{TheBigBox}}
ᐁgives thatᐁ
L type of box, fyros palette
r type of box, fyros palette
r type of box
R type of box, matis palette
l (L lower case) type of box, matis palette
Then chain on the one(s) on the left, always without space or empty line between the "template".
Sed ut tum ad senem senex de senectute, sic hoc libro ad amicum amicissimus scripsi de amicitia. Tum est Cato locutus, quo erat nemo fere senior temporibus illis, nemo prudentior; nunc Laelius et sapiens (sic enim est habitus) et amicitiae gloria excellens de amicitia loquetur. Tu velim a me animum parumper avertas, Laelium loqui ipsum putes. C. Fannius et Q. Mucius ad socerum veniunt post mortem Africani; ab his sermo oritur, respondet Laelius, cuius tota disputatio est de amicitia, quam legens te ipse cognosces.l (L lower case) type of box
No type, ranger palette
Sed ut tum ad senem senex de senectute, sic hoc libro ad amicum amicissimus scripsi de amicitia. Tum est Cato locutus, quo erat nemo fere senior temporibus illis, nemo prudentior; nunc Laelius et sapiens (sic enim est habitus) et amicitiae gloria excellens de amicitia loquetur. Tu velim a me animum parumper avertas, Laelium loqui ipsum putes. C. Fannius et Q. Mucius ad socerum veniunt post mortem Africani; ab his sermo oritur, respondet Laelius, cuius tota disputatio est de amicitia, quam legens te ipse cognosces.
l (L lower case) type of box
No type, tryker palette
R type of box
No type, zorai palette
R type of box
l (L lower case) type of box