Difference between revisions of "Template:CitePage"
(Inclusion of Icon template) |
(Updating data... but will need second (null) update to refresh auto-included example) |
||
Line 1: | Line 1: | ||
− | {{DISPLAYTITLE:{{{Title}}}}} | + | {{ #ifeq: {{{Legend}}}|No| ====={{{Title}}}===== |{{DISPLAYTITLE:{{{Title}}}}}'''<big>Briefly</big>'''}} <!--> If Legend <> No, Title = DISPLAYTITLE and display of "Briefly". <--> |
− | |||
− | '''<big> | ||
− | |||
− | |||
+ | {| cellspacing="0" cellpadding="4" border="2" style="border: 3px solid rgb(0, 85, 221); margin: 1em 1em 1em 0pt; border-collapse: collapse; width: 100%;" | ||
|- align="left" | |- align="left" | ||
− | | | + | | bgcolor="#abcdef" colspan="6" | {{Icon|{{{Module}}}|3|60}}<big>'''{{{Title}}}'''</big> |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
|- | |- | ||
− | | width=" | + | | width="10%" bgcolor="#abcdef" | '''Description''' |
+ | | colspan="5" | {{{Description}}} | ||
|- | |- | ||
− | | width=" | + | | width="10%" bgcolor="#abcdef" | '''Plateform''' |
+ | | width="23%" | {{{OS}}} | ||
+ | | width="10%" bgcolor="#abcdef" | '''Module''' | ||
+ | | width="23%" | {{{Module}}} | ||
+ | | width="10%" bgcolor="#abcdef" | '''Status''' ([[Template:CitePage#Help|Help]]) | ||
+ | | width="24%" | {{{Status}}} | ||
|- | |- | ||
− | | width=" | + | | width="10%" bgcolor="#abcdef" | '''Author(s)''' |
+ | | colspan="3" | {{{Authors}}} | ||
+ | | width="10%" bgcolor="#abcdef" | '''Date''' | ||
+ | | {{{Date}}} | ||
|- | |- | ||
+ | | width="10%" bgcolor="#abcdef" | '''Address''' | ||
+ | | colspan="5" | <center>{{{Link}}}</center> | ||
|} | |} | ||
Line 39: | Line 39: | ||
:Thanks in advance / Feel free to correct my mistakes, in spellchecking and... semantic, well... sense. | :Thanks in advance / Feel free to correct my mistakes, in spellchecking and... semantic, well... sense. | ||
− | </noinclude> | + | </noinclude> |
<noinclude> | <noinclude> | ||
Line 45: | Line 45: | ||
== Example == | == Example == | ||
; Calling Template: Please feel free to choose an (English) more pertinent example... | ; Calling Template: Please feel free to choose an (English) more pertinent example... | ||
− | <pre> | + | <pre>{{CitePage|Title=Débuter à partir d'une application exemple commentée. |
− | {{CitePage|Title=Débuter à partir d'une application exemple commentée. | + | |Legend=No (prevent from DISPLAYTITLE and give level h5 to title - Normally for tutorials acting as "doubles") |
|Authors=Pierre-Yves Samyn | |Authors=Pierre-Yves Samyn | ||
|Description=Questions fréquentes sur la mise en oeuvre de Base. | |Description=Questions fréquentes sur la mise en oeuvre de Base. | ||
Les exemples présentés ici n'utilisent volontairement aucune macro. | Les exemples présentés ici n'utilisent volontairement aucune macro. | ||
+ | |||
Really valuable French example for getting started :-) | Really valuable French example for getting started :-) | ||
|Module=Base | |Module=Base | ||
Line 57: | Line 58: | ||
|Site=fr:Forum (this value could contain the left part of the adress) | |Site=fr:Forum (this value could contain the left part of the adress) | ||
|SiteCode=6460 (and with this one concat like this: http://user.services.openoffice.org/fr/forum/ftopic6460.html ) | |SiteCode=6460 (and with this one concat like this: http://user.services.openoffice.org/fr/forum/ftopic6460.html ) | ||
− | |Link=http://user.services.openoffice.org/fr/forum/viewtopic.php?f=29&t=6460 is the result of Copying link, right-clicking in Firefox. | + | |Link=http://user.services.openoffice.org/fr/forum/viewtopic.php?f=29&t=6460 is the result of Copying link, right-clicking in Firefox. |
}} | }} | ||
</pre> | </pre> | ||
; Résult: | ; Résult: | ||
{{CitePage|Title=Débuter à partir d'une application exemple commentée. | {{CitePage|Title=Débuter à partir d'une application exemple commentée. | ||
+ | |Legend=No | ||
|Authors=Pierre-Yves Samyn | |Authors=Pierre-Yves Samyn | ||
|Description=Questions fréquentes sur la mise en oeuvre de Base. | |Description=Questions fréquentes sur la mise en oeuvre de Base. | ||
Line 103: | Line 105: | ||
: This doc is outdated. Perhaps need to precise more Ce document n'est plus maintenant nécessaire, ou ne correspond plus à la version courante de {{OOo}}. | : This doc is outdated. Perhaps need to precise more Ce document n'est plus maintenant nécessaire, ou ne correspond plus à la version courante de {{OOo}}. | ||
− | </noinclude> | + | </noinclude> |
<noinclude>[[Category:FR/Modeles]] | <noinclude>[[Category:FR/Modeles]] | ||
[[Category:Templates_for_links]] </noinclude> | [[Category:Templates_for_links]] </noinclude> |
Revision as of 16:00, 26 May 2009
{{ #ifeq: {{{Legend}}}|No| ====={{{Title}}}===== |Briefly}}
[[Image: {{ #switch:{{{Module}}}
|
Base = Base | Calc = Calc | Draw = Draw | Impress = Impress | Math = Math | Writer = Writer | Book | Livre | Wiki = Book | Edit
}}.png|60px]]
| |||||
Description | {{{Description}}} | ||||||||||||||
Plateform | {{{OS}}} | Module | {{{Module}}} | Status (Help) | {{{Status}}} | ||||||||||
Author(s) | {{{Authors}}} | Date | {{{Date}}} | ||||||||||||
Address |
This template is inspired from Template:Specification_Header and examples of WikiPedia. Many thanks to authors.
While inspired from a header, I think first it would be better as a footer.
Because additionnals comments (outside the template) could be rare and they could be best shown in the top of the page.
- It's actually in a draft stage...
- My english writing too. ;-)
- Thanks in advance / Feel free to correct my mistakes, in spellchecking and... semantic, well... sense.
Example
- Calling Template
- Please feel free to choose an (English) more pertinent example...
{{CitePage|Title=Débuter à partir d'une application exemple commentée. |Legend=No (prevent from DISPLAYTITLE and give level h5 to title - Normally for tutorials acting as "doubles") |Authors=Pierre-Yves Samyn |Description=Questions fréquentes sur la mise en oeuvre de Base. Les exemples présentés ici n'utilisent volontairement aucune macro. Really valuable French example for getting started :-) |Module=Base |Date=2007-09-10 |Status=Standard |OS=Toutes |Site=fr:Forum (this value could contain the left part of the adress) |SiteCode=6460 (and with this one concat like this: http://user.services.openoffice.org/fr/forum/ftopic6460.html ) |Link=http://user.services.openoffice.org/fr/forum/viewtopic.php?f=29&t=6460 is the result of Copying link, right-clicking in Firefox. }}
- Résult
{{ #ifeq: No|No| =====Débuter à partir d'une application exemple commentée.===== |Warning: Display title "Débuter à partir d'une application exemple commentée." overrides earlier display title "{{{Title}}}".Briefly}}
[[Image: {{ #switch:Base
|
Base = Base | Calc = Calc | Draw = Draw | Impress = Impress | Math = Math | Writer = Writer | Book | Livre | Wiki = Book | Edit
}}.png|60px]]
| |||||
Description | Questions fréquentes sur la mise en oeuvre de Base.
Les exemples présentés ici n'utilisent volontairement aucune macro. Really valuable French example for getting started :-) | ||||||||||||||
Plateform | Toutes | Module | Base | Status (Help) | Standard | ||||||||||
Author(s) | Pierre-Yves Samyn | Date | 2007-09-10 | ||||||||||||
Address |
Help
At this time you can only include one instance per page. More in the talk page...
- Parameters not yet used
- Site=fr:Forum (this value could reflect to the left part of the adress)
- SiteCode=6460 (and with this one concat like this: http://user.services.openoffice.org/fr/forum/ftopic6460.html )
Title
Depend on Legend. If Legend is set to Yes then the value will be duplicate in the command DISPLAYTITLE. If set to No it's only reported in the table heading.
OS
Legended "Plateform", default value = All
Statut
- Préliminary
- Draft stage / Not finalized
- Standard
- Stable.
- Obsolete
- This doc is outdated. Perhaps need to precise more Ce document n'est plus maintenant nécessaire, ou ne correspond plus à la version courante de Apache OpenOffice.