Vorlage:TheBigBox/Documentation: Unterschied zwischen den Versionen

Aus EnzyklopAtys

Wechseln zu: Navigation, Suche
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.<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
Zeile 21: Zeile 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
Zeile 29: Zeile 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
Zeile 41: Zeile 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
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=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
Zeile 91: Zeile 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>}
 
 
}}
 
}}
  

Version vom 17. Februar 2021, 15:21 Uhr

de:Template:TheBigBox/Documentation en:Template:TheBigBox/Documentation es:Template:TheBigBox/Documentation fr:Template:TheBigBox/Documentation ru:Template:TheBigBox/Documentation
 
UnderConstruction.png
Übersetzung zur Überprüfung
Gib nicht den Mitwirkenden die Schuld, sondern komm und hilf ihnen. 😎
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.