Difference between revisions of "Template:TheBigBox/Documentation"

From EncyclopAtys

Jump to: navigation, search
 
Line 13: Line 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.<br/>
+
"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
Line 21: Line 22:
 
   |palette=
 
   |palette=
 
   |content=
 
   |content=
βˆ’
  {<nowiki>{TheBigBox|type=type|title=title|image=image|content=content}</nowiki>}<br/>
+
  <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
Line 29: Line 31:
 
   |palette=
 
   |palette=
 
   |content= '''Parameters'''
 
   |content= '''Parameters'''
βˆ’
*'''type''':kind of box for the section.
+
<div align= "left">
βˆ’
*'''title''':the bar title. if no title, no bar.
+
*'''type''':box type for the detailed section below.
βˆ’
*'''image''':icon for the title. If no image default Ryzom logo.
+
*'''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.<br/>
+
*'''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
Line 41: Line 47:
 
   |image=R2_scenario_admin.png
 
   |image=R2_scenario_admin.png
 
   |palette=
 
   |palette=
βˆ’
   |content=''(Unfortunatly bug on the first line :-(, therefore, fill it with anything)''
+
   |content=
βˆ’
*'''C'''= 1/3 width, centred in the page, centred text, heavy relief, coloured background.
+
<div align="left">
βˆ’
*'''c'''= 1/3 width, centred in the page, light relief, no background colour (white).
+
Types for boxes that occupy the entire width of the box containing them:
βˆ’
*'''d'''= Full width, light relief, coloured background.
+
*'''U'''= full width, thick relief, colored background, centered text by default.
βˆ’
*'''L'''= 1/3 width, floating left of the page, heavy relief, coloured background.
+
*'''u''' o by default= full width, thin relief, pastel background, centered text by default.
βˆ’
*'''l'''= 2/3 width, floating left of the page, light relief, coloured background.
+
Types for small floating boxes in the box containing them:
βˆ’
*'''R'''= 1/3 width, floating right of the page, heavy relief, coloured background.
+
*On the left
βˆ’
*'''r'''= 2/3 width, floating right of the page, light relief, coloured background.
+
**'''L'''= 1/3 of the width, floats to the left of the page, thick relief, colored background, left-aligned text by default.
βˆ’
*'''U'''= Full width, centred text, heavy relief, coloured background.
+
**'''l'''(lowercase L)= 2/3 of the width, floats to the left of the page, clear relief, pastel background, left-aligned text by default.
βˆ’
*default=  Full width, light relief, coloured background.<br/>
+
*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
Line 60: Line 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=c
+
   |type=U
βˆ’
   |title= c (lower case) type of box
+
   |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=
βˆ’
  |content=
 
βˆ’
'''The 3 next samples are very useful to realign floating boxes.'''
 
 
}}
 
}}
 
{{TheBigBox
 
{{TheBigBox
 
   |type=U
 
   |type=U
βˆ’
  |title= A very useful U model without content to realign floating boxes, and below without title
 
βˆ’
  |image=R2_scenario_admin.png
 
 
   |palette=
 
   |palette=
 
}}
 
}}
 +
{{TheBigBox}}
 
{{TheBigBox
 
{{TheBigBox
βˆ’
   |type=U
+
   |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
 
{{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
Line 91: Line 107:
 
   |palette=
 
   |palette=
 
  }}
 
  }}
βˆ’
{<nowiki>{TheBigBox |type=U |title= A title |image=R2_scenario_admin.png}</nowiki>}
+
<code>{<nowiki>{TheBigBox |type=U}</nowiki>}</code><br/>
βˆ’
 
+
'''ᐁ'''gives that'''ᐁ'''
 
{{TheBigBox
 
{{TheBigBox
 
   |type=U
 
   |type=U
 
   |palette=
 
   |palette=
 
}}
 
}}
βˆ’
{<nowiki>{TheBigBox |type=U}</nowiki>}
+
<code>{<nowiki>{TheBigBox}</nowiki>}</code><br/>
βˆ’
 
+
'''ᐁ'''gives that'''ᐁ'''
 
{{TheBigBox}}
 
{{TheBigBox}}
βˆ’
{<nowiki>{TheBigBox}</nowiki>}
 
 
}}
 
}}
  

Latest revision as of 15:25, 6 February 2021

de:Template:TheBigBox/Documentation en:Template:TheBigBox/Documentation es:Template:TheBigBox/Documentation fr:Template:TheBigBox/Documentation ru:Template:TheBigBox/Documentation
 
UnderConstruction.png
Translation to review
Don't blame the contributors, but come and help them 😎

Reference text ( Maintained text, used as reference ) :
Notes: (Zorroargh, 2021-02-06)

WarningRyzom.png

Usage of the TheBigBox template

"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.
WarningRyzom.png

Syntaxis

{{TheBigBox|type=type|title=title|image=image|palette=palette|content=content|align=text-align}}
This is the " default " type of "TheBigBox", wirhout type good value.
Parameters
  • 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.
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.

This is the " U " type of "TheBigBox", wirhout title.
R2 scenario admin.png

"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.

This is the " d " type of "TheBigBox".
Logo 40px.png

← U type of box without "image"

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.
R2 scenario admin.png

A very useful U model without content to realign floating boxes, and below without title




R2 scenario admin.png

c (lower case) type of box

The 3 next samples are very useful to realign floating boxes.
R2 scenario admin.png

C (upper case) type of box

{{TheBigBox |title= A title|image=R2_scenario_admin.png}}

ᐁgives thatᐁ

R2 scenario admin.png

A title


{{TheBigBox |type=U}}
ᐁgives thatᐁ


{{TheBigBox}}
ᐁgives thatᐁ


Fyros emblem.png

L type of box, fyros palette

To create double columns per page (there are no triple columns) with the small column on the left (for example to put menus there), you must always start with the one on the left. 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.
Fyros emblem.png

r type of box, fyros palette

The right column comes next, without any space or empty row following the previous column. 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.
Fyros emblem.png

r type of box

You can chain several columns to the right, always without spaces or empty lines between the "templates". 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.

Matis emblem.png

R type of box, matis 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.
Matis emblem.png

l (L lower case) type of box, matis palette

To reverse the presentation, we start with the right column β†’

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.
Matis emblem.png

l (L lower case) type of box

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.

Rangers emblem.png

No type, ranger palette

You can also nest blocks inside each other, but be careful, the results are not always predictable or elegant.

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.

Rangers emblem.png

l (L lower case) type of box

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.

Tryker emblem.png

No type, tryker 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.
Tryker emblem.png

R type of box

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.

Zor emblem.png

No type, zorai 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.
Zor emblem.png

R type of box

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.
Zor emblem.png

l (L lower case) type of box

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.