mirror of
https://github.com/EiffelSoftware/eiffel-org.git
synced 2025-12-06 14:52:03 +01:00
Update template content and style.
Added inline-(info,warning,error,success) templates. Added contribute/editing_help. git-svn-id: https://svn.eiffel.com/eiffel-org/trunk@1584 abb3cda0-5349-4a8f-a601-0c33ac3a8c38
This commit is contained in:
@@ -1 +1 @@
|
|||||||
<center class="doc-tpl-box"><p style="text-align:center; width: 350px; border: 1px solid #FFB55F; padding: 2px; background-color: #FFEEBF; color: black;">[[Image:LogoBeta|24px]] '''Beta documentation:''' [[How to contribute to documentation#Beta|see definition]].</p></center>
|
<p class="tpl header-message">[[Image:LogoBeta|24px]] '''Beta documentation:''' [[How to contribute to documentation#Beta|see definition]].</p>
|
||||||
|
|||||||
@@ -1 +1 @@
|
|||||||
<p style="margin-left: 10px; margin-right: 50px; border: 1px solid #0a427d; padding: 10px; background-color: #eef7fb; color: black;">[[Image:LogoInformation|24px]] '''Info: '''{{{1}}}</p>
|
<p class="tpl info-message">[[Image:LogoInformation|24px]] '''Info: '''{{{1}}}</p>
|
||||||
|
|||||||
1
documentation/trunk/_templates/Inline-Error.tpl
Normal file
1
documentation/trunk/_templates/Inline-Error.tpl
Normal file
@@ -0,0 +1 @@
|
|||||||
|
<span class="tpl error-message">{{{1}}}</span>
|
||||||
1
documentation/trunk/_templates/Inline-Info.tpl
Normal file
1
documentation/trunk/_templates/Inline-Info.tpl
Normal file
@@ -0,0 +1 @@
|
|||||||
|
<span class="tpl info-message">{{{1}}}</span>
|
||||||
1
documentation/trunk/_templates/Inline-Success.tpl
Normal file
1
documentation/trunk/_templates/Inline-Success.tpl
Normal file
@@ -0,0 +1 @@
|
|||||||
|
<span class="tpl success-message">{{{1}}}</span>
|
||||||
1
documentation/trunk/_templates/Inline-Warning.tpl
Normal file
1
documentation/trunk/_templates/Inline-Warning.tpl
Normal file
@@ -0,0 +1 @@
|
|||||||
|
<span class="tpl warning-message">{{{1}}}</span>
|
||||||
@@ -1,2 +1 @@
|
|||||||
<span style="background-color:#fafafa; border:1px solid black; padding-left: 3px; padding-right: 3px; padding-top: 1px; padding-bottom: 1px; white-space:nowrap">{{{1|key}}}</span>
|
<span class="tpl key-message">{{{1}}}</span>
|
||||||
|
|
||||||
|
|||||||
@@ -1,2 +1 @@
|
|||||||
<p style="margin-left: 10px; margin-right: 50px; border: 1px solid #0a427d; padding: 10px; background-color: #eef7fb; color: black;">[[Image:LogoInformation|24px]] '''Note: '''{{{1}}}</p>
|
<p class="tpl note-message">[[Image:LogoInformation|24px]] '''Note: '''{{{1}}}</p>
|
||||||
|
|
||||||
|
|||||||
@@ -1 +1 @@
|
|||||||
<p style="margin-left: 10px; margin-right: 50px; border: 1px solid #0a427d; padding: 10px; background-color: #EEEEFF; color: black;">[[Image:LogoRecommended|24px]] '''Recommended: '''{{{1}}}</p>
|
<p class="tpl recommended-message">[[Image:LogoRecommended|24px]] '''Recommended: '''{{{1}}}</p>
|
||||||
|
|||||||
@@ -1 +1 @@
|
|||||||
<center class="doc-tpl-box"><p style="text-align:center; width: 350px; border: 1px solid #0000CC; padding: 2px; background-color: #FFFFFF; color: black;">[[Image:LogoReviewRequested|24px]] '''Review requested: ''' [[How to contribute to documentation#ReviewRequested|see definition]].</p></center>
|
<p class="tpl header-message" style="background-color: #FFFFFF; border-color: black">[[Image:LogoReviewRequested|24px]] '''Review requested: ''' [[How to contribute to documentation#ReviewRequested|see definition]].</p>
|
||||||
|
|||||||
@@ -1 +1 @@
|
|||||||
<p style="margin-left: 10px; margin-right: 50px; border: 1px solid #0a427d; padding: 10px; background-color: #f3eada; color: black;">[[Image:LogoRule|24px]] '''Rule -- {{{name}}}:''' {{{text}}}</p>
|
<p class="tpl rule-message">[[Image:LogoRule|24px]] '''Rule -- {{{name}}}:''' {{{text}}}</p>
|
||||||
|
|||||||
@@ -1 +1 @@
|
|||||||
<p style="margin-left: 10px; margin-right: 50px; border: 1px solid #0a427d; padding: 10px; background-color: #eef7fb; color: black;">[[Image:LogoInformation|24px]] '''Sample: '''{{{1}}}</p>
|
<p class="tpl sample-message">[[Image:LogoInformation|24px]] '''Sample:''' {{{1}}}</p>
|
||||||
|
|||||||
@@ -1,8 +1 @@
|
|||||||
<div style="margin:10px; border: 1px solid #0a427d; padding: 5px; background-color: #eef7fb; color: black;">
|
<p class="tpl seealso-message">[[Image:LogoInformation|24px]] '''See Also:''' {{{1}}}</p>
|
||||||
<table>
|
|
||||||
<tr>
|
|
||||||
<td style="vertical-align:top;">[[Image:LogoInformation|24px]]</td>
|
|
||||||
<td>'''See Also: '''{{{1}}}</td>
|
|
||||||
</tr>
|
|
||||||
</table>
|
|
||||||
</div>
|
|
||||||
|
|||||||
@@ -1 +1 @@
|
|||||||
<p style="margin-left: 10px; margin-right: 50px; border: 1px solid #0a427d; padding: 10px; background-color: #eef7fb; color: black;">[[Image:LogoInformation|24px]] '''Tip: '''{{{1}}}</p>
|
<p class="tpl tip-message">[[Image:LogoInformation|24px]] '''Tip: '''{{{1}}}</p>
|
||||||
|
|||||||
@@ -1 +1 @@
|
|||||||
<center class="doc-tpl-box"><p style="text-align:center; width: 350px; border: 1px solid #FFB55F; padding: 2px; background-color: #FFEEBF; color: black;">[[Image:LogoConstruction|24px]] '''Under construction:''' [[How to contribute to documentation#UnderConstruction|see definition]].</p></center>
|
<p class="tpl header-message">[[Image:LogoConstruction|24px]] '''Under construction:''' [[How to contribute to documentation#UnderConstruction|see definition]].</p>
|
||||||
|
|||||||
@@ -1 +1 @@
|
|||||||
<center class="doc-tpl-box"><p style="text-align:center; width: 350px; border: 1px solid #FFB55F; padding: 2px; background-color: #FFEEBF; color: black;">[[Image:LogoUpdateNeeded|24px]] '''Update Needed: '''[[How to contribute to documentation#UpdateNeeded|see definition]].</p></center>
|
<p class="tpl header-message">[[Image:LogoUpdateNeeded|24px]] '''Update Needed:''' [[How to contribute to documentation#UpdateNeeded|see definition]].</p>
|
||||||
|
|||||||
@@ -1,2 +1 @@
|
|||||||
<p style="margin-left: 10px; margin-right: 50px; border: 1px solid #ff5c5c; padding: 10px; background-color: #FFAFAF; color: black;">[[Image:LogoWarning|24px]] '''Warning:''' {{{1}}}</p>
|
<p class="tpl warning-message">[[Image:LogoWarning|24px]] '''Warning:''' {{{1}}}</p>
|
||||||
|
|
||||||
|
|||||||
@@ -1 +1 @@
|
|||||||
<p style="margin: 5px 10px 10px 10px; border: 1px solid #0A7D19; padding: 3px 10px 3px 10px; background-color: #EFFFF0; color: black;">[[Image:LogoDefinition|24px]] '''Definition -- {{{1}}}''': {{{2}}}</p>
|
<p class="tpl definition-message">[[Image:LogoDefinition|24px]] '''Definition -- {{{1}}}''': {{{2}}}</p>
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
[[Property:title|How to contribute to documentation]]
|
[[Property:title|How to contribute to documentation]]
|
||||||
[[Property:link_title|To documentation]]
|
[[Property:link_title|To documentation]]
|
||||||
[[Property:weight|1]]
|
[[Property:weight|2]]
|
||||||
[[Property:uuid|A2DED192-B50A-4E59-B214-FDC3FEDC7A44]]
|
[[Property:uuid|A2DED192-B50A-4E59-B214-FDC3FEDC7A44]]
|
||||||
|
|
||||||
= Current documentation system =
|
= Current documentation system =
|
||||||
|
|||||||
94
documentation/trunk/contribute/editing_help.wiki
Normal file
94
documentation/trunk/contribute/editing_help.wiki
Normal file
@@ -0,0 +1,94 @@
|
|||||||
|
[[Property:title|Help to edit documentation]]
|
||||||
|
[[Property:link_title|Editing help]]
|
||||||
|
[[Property:weight|3]]
|
||||||
|
|
||||||
|
= Wikitext syntax =
|
||||||
|
* Have a look at [https://en.wikipedia.org/wiki/Help:Wiki_markup Wikipedia markup] documentation.
|
||||||
|
* The current website does not support the full Wikipedia syntax, but still most of the needed cases.
|
||||||
|
|
||||||
|
= Templates =
|
||||||
|
== Top page templates ==
|
||||||
|
Used to qualify the current page.
|
||||||
|
|
||||||
|
=== ReviewRequested ===
|
||||||
|
:<nowiki>{{ReviewRequested|This is a ReviewRequested message}}</nowiki>
|
||||||
|
{{ReviewRequested|This is a ReviewRequested message}}
|
||||||
|
|
||||||
|
=== UnderConstruction ===
|
||||||
|
:<nowiki>{{UnderConstruction|This is a UnderConstruction message}}</nowiki>
|
||||||
|
{{UnderConstruction|This is a UnderConstruction message}}
|
||||||
|
|
||||||
|
=== UpdateNeeded ===
|
||||||
|
:<nowiki>{{UpdateNeeded|This is a UpdateNeeded message}}</nowiki>
|
||||||
|
{{UpdateNeeded|This is a UpdateNeeded message}}
|
||||||
|
|
||||||
|
=== Beta ===
|
||||||
|
:<nowiki>{{Beta|This is a beta message}}</nowiki>
|
||||||
|
{{Beta|This is a beta message}}
|
||||||
|
|
||||||
|
|
||||||
|
== Block templates ==
|
||||||
|
=== Caution ===
|
||||||
|
:<nowiki>{{Caution|This is a caution message}}</nowiki>
|
||||||
|
{{Caution|This is a caution message}}
|
||||||
|
|
||||||
|
=== Definition ===
|
||||||
|
:<nowiki>{{Definition|abc|This is a Definition message}}</nowiki>
|
||||||
|
{{Definition|abc|This is a Definition message}}
|
||||||
|
|
||||||
|
=== Info ===
|
||||||
|
:<nowiki>{{Info|This is a Info message}}</nowiki>
|
||||||
|
{{Info|This is a Info message}}
|
||||||
|
|
||||||
|
|
||||||
|
=== Note ===
|
||||||
|
:<nowiki>{{Note|This is a Note message}}</nowiki>
|
||||||
|
{{Note|This is a Note message}}
|
||||||
|
|
||||||
|
=== Recommended ===
|
||||||
|
:<nowiki>{{Recommended|This is a Recommended message}}</nowiki>
|
||||||
|
{{Recommended|This is a Recommended message}}
|
||||||
|
|
||||||
|
=== Rule ===
|
||||||
|
:<nowiki>{{Rule|name=abc|text=This is a Rule message}}</nowiki>
|
||||||
|
{{Rule|name=abc|text=This is a Rule message}}
|
||||||
|
|
||||||
|
=== Sample ===
|
||||||
|
:<nowiki>{{Sample|This is a Sample message}}</nowiki>
|
||||||
|
{{Sample|This is a Sample message}}
|
||||||
|
|
||||||
|
=== SeeAlso ===
|
||||||
|
:<nowiki>{{SeeAlso|This is a SeeAlso message}}</nowiki>
|
||||||
|
{{SeeAlso|This is a SeeAlso message}}
|
||||||
|
|
||||||
|
=== Tip ===
|
||||||
|
:<nowiki>{{Tip|This is a Tip message}}</nowiki>
|
||||||
|
{{Tip|This is a Tip message}}
|
||||||
|
|
||||||
|
=== Warning ===
|
||||||
|
:<nowiki>{{Warning|This is a Warning message}}</nowiki>
|
||||||
|
{{Warning|This is a Warning message}}
|
||||||
|
|
||||||
|
|
||||||
|
== Inline templates ==
|
||||||
|
|
||||||
|
=== Key ===
|
||||||
|
:<nowiki>This is a {{Key|key message}} in the text. </nowiki>
|
||||||
|
This is a {{Key|key message}} in the text.
|
||||||
|
|
||||||
|
=== Error ===
|
||||||
|
:<nowiki>This is a {{Inline-Error|error message}} in the text. </nowiki>
|
||||||
|
This is a {{Inline-Error|error message}} in the text.
|
||||||
|
|
||||||
|
=== Info ===
|
||||||
|
:<nowiki>This is a {{Inline-Info|info message}} in the text. </nowiki>
|
||||||
|
This is a {{Inline-Info|info message}} in the text.
|
||||||
|
|
||||||
|
=== Success ===
|
||||||
|
:<nowiki>This is a {{Inline-Success|success message}} in the text. </nowiki>
|
||||||
|
This is a {{Inline-Success|success message}} in the text.
|
||||||
|
|
||||||
|
=== Warning ===
|
||||||
|
:<nowiki>This is a {{Inline-Warning|warning message}} in the text. </nowiki>
|
||||||
|
This is a {{Inline-Warning|warning message}} in the text.
|
||||||
|
|
||||||
Reference in New Issue
Block a user