Diferencia entre revisiones de «Plantilla:Nodo portal»
(Página creada con '<includeonly> <table border="0" width="100%" cellspacing="5" cellpadding="0" > {{#if: {{{Header box title|}}} | <tr colspan="2"> {{Box-header|title=<big>{{{Header box title}}}</…') |
|||
(2 revisiones intermedias por el mismo usuario no mostrado) | |||
Línea 1: | Línea 1: | ||
<includeonly> | <includeonly> | ||
<table border="0" width="100%" cellspacing="5" cellpadding="0" > | <table border="0" width="100%" cellspacing="5" cellpadding="0" > | ||
− | {{#if: {{{Header box title|}}} | <tr colspan="2"> {{ | + | {{#if: {{{Header box title|}}} | <tr colspan="2"> {{Encabezado-caja|title=<big>{{{Header box title}}}</big> |
|editpage={{NAMESPACE}}:{{PAGENAME}}/{{{Header box title}}} | |editpage={{NAMESPACE}}:{{PAGENAME}}/{{{Header box title}}} | ||
− | |border={{ | + | |border={{Tema-caja|name={{{Tema-caja}}}|property=border}} |
− | |titleforeground={{ | + | |titleforeground={{Tema-caja|name={{{Tema-caja}}}|property=titleforeground}} |
− | |titlebackground={{ | + | |titlebackground={{Tema-caja|name={{{Tema-caja}}}|property=titlebackgroundC1}} |
− | |background={{ | + | |background={{Tema-caja|name={{{Tema-caja}}}|property=backgroundC1}} |
− | |foreground={{ | + | |foreground={{Tema-caja|name={{{Tema-caja}}}|property=foreground}}}} |
{{{{NAMESPACE}}:{{PAGENAME}}/{{{Header box title}}}}} | {{{{NAMESPACE}}:{{PAGENAME}}/{{{Header box title}}}}} | ||
− | {{ | + | {{Pie-caja|}} |
</tr> }} | </tr> }} | ||
<tr> | <tr> | ||
{{#if: {{{Left column width|}}}|<td width="{{{Left column width}}}%" height="100%" valign="top"> |<td width="50%" height="100%" valign="top" > }} | {{#if: {{{Left column width|}}}|<td width="{{{Left column width}}}%" height="100%" valign="top"> |<td width="50%" height="100%" valign="top" > }} | ||
<div style="float:left; width:100%;"> | <div style="float:left; width:100%;"> | ||
− | {{ | + | {{Encabezado-caja|title=<big>{{{Left box 1 title}}}</big> |
|editpage={{NAMESPACE}}:{{PAGENAME}}/{{{Left box 1 title}}} | |editpage={{NAMESPACE}}:{{PAGENAME}}/{{{Left box 1 title}}} | ||
− | |border={{ | + | |border={{Tema-caja|name={{{Tema-caja}}}|property=border}} |
− | |titleforeground={{ | + | |titleforeground={{Tema-caja|name={{{Tema-caja}}}|property=titleforeground}} |
− | |titlebackground={{ | + | |titlebackground={{Tema-caja|name={{{Tema-caja}}}|property=titlebackgroundC2}} |
− | |background={{ | + | |background={{Tema-caja|name={{{Tema-caja}}}|property=backgroundC2}} |
− | |foreground={{ | + | |foreground={{Tema-caja|name={{{Tema-caja}}}|property=foreground}}}} |
{{{{NAMESPACE}}:{{PAGENAME}}/{{{Left box 1 title}}}}} | {{{{NAMESPACE}}:{{PAGENAME}}/{{{Left box 1 title}}}}} | ||
− | {{ | + | {{Pie-caja|}} |
</div> | </div> | ||
− | {{#if: {{{Left box 2 title|}}} |<div style="float:left; width:100%;">{{ | + | {{#if: {{{Left box 2 title|}}} |<div style="float:left; width:100%;">{{Encabezado-caja|title=<big>{{{Left box 2 title}}}</big>|editpage={{NAMESPACE}}:{{PAGENAME}}/{{{Left box 2 title}}} |
− | |border={{ | + | |border={{Tema-caja|name={{{Tema-caja}}}|property=border}} |
− | |titleforeground={{ | + | |titleforeground={{Tema-caja|name={{{Tema-caja}}}|property=titleforeground}} |
− | |titlebackground={{ | + | |titlebackground={{Tema-caja|name={{{Tema-caja}}}|property=titlebackgroundC3}} |
− | |background={{ | + | |background={{Tema-caja|name={{{Tema-caja}}}|property=backgroundC3}} |
− | |foreground={{ | + | |foreground={{Tema-caja|name={{{Tema-caja}}}|property=foreground}}}} |
{{{{NAMESPACE}}:{{PAGENAME}}/{{{Left box 2 title}}}}} | {{{{NAMESPACE}}:{{PAGENAME}}/{{{Left box 2 title}}}}} | ||
− | {{ | + | {{Pie-caja|}} |
</div>| }} | </div>| }} | ||
{{#if: {{{Left box 3 title|}}} |<div style="float:left; width:100%;"> | {{#if: {{{Left box 3 title|}}} |<div style="float:left; width:100%;"> | ||
− | {{ | + | {{Encabezado-caja|title=<big>{{{Left box 3 title}}}</big> |
|editpage={{NAMESPACE}}:{{PAGENAME}}/{{{Left box 3 title}}} | |editpage={{NAMESPACE}}:{{PAGENAME}}/{{{Left box 3 title}}} | ||
− | |border={{ | + | |border={{Tema-caja|name={{{Tema-caja}}}|property=border}} |
− | |titleforeground={{ | + | |titleforeground={{Tema-caja|name={{{Tema-caja}}}|property=titleforeground}} |
− | |titlebackground={{ | + | |titlebackground={{Tema-caja|name={{{Tema-caja}}}|property=titlebackgroundC4}} |
− | |background={{ | + | |background={{Tema-caja|name={{{Tema-caja}}}|property=backgroundC4}} |
− | |foreground={{ | + | |foreground={{Tema-caja|name={{{Tema-caja}}}|property=foreground}}}} |
{{{{NAMESPACE}}:{{PAGENAME}}/{{{Left box 3 title}}}}} | {{{{NAMESPACE}}:{{PAGENAME}}/{{{Left box 3 title}}}}} | ||
− | {{ | + | {{Pie-caja|}} |
</div>}} | </div>}} | ||
{{#if: {{{Left box 4 title|}}} |<div style="float:left; width:100%;"> | {{#if: {{{Left box 4 title|}}} |<div style="float:left; width:100%;"> | ||
− | {{ | + | {{Encabezado-caja|title=<big>{{{Left box 4 title}}}</big> |
|editpage={{NAMESPACE}}:{{PAGENAME}}/{{{Left box 4 title}}} | |editpage={{NAMESPACE}}:{{PAGENAME}}/{{{Left box 4 title}}} | ||
− | |border={{ | + | |border={{Tema-caja|name={{{Tema-caja}}}|property=border}} |
− | |titleforeground={{ | + | |titleforeground={{Tema-caja|name={{{Tema-caja}}}|property=titleforeground}} |
− | |titlebackground={{ | + | |titlebackground={{Tema-caja|name={{{Tema-caja}}}|property=titlebackgroundC5}} |
− | |background={{ | + | |background={{Tema-caja|name={{{Tema-caja}}}|property=backgroundC5}} |
− | |foreground={{ | + | |foreground={{Tema-caja|name={{{Tema-caja}}}|property=foreground}}}} |
{{{{NAMESPACE}}:{{PAGENAME}}/{{{Left box 4 title}}}}} | {{{{NAMESPACE}}:{{PAGENAME}}/{{{Left box 4 title}}}}} | ||
− | {{ | + | {{Pie-caja|}} |
</div>}} | </div>}} | ||
</td> | </td> | ||
<td valign="top"> | <td valign="top"> | ||
<div style="float:left; width:100%;"> | <div style="float:left; width:100%;"> | ||
− | {{ | + | {{Encabezado-caja|title=<big>{{{Right box 1 title}}}</big> |
|editpage={{NAMESPACE}}:{{PAGENAME}}/{{{Right box 1 title}}} | |editpage={{NAMESPACE}}:{{PAGENAME}}/{{{Right box 1 title}}} | ||
− | |border={{ | + | |border={{Tema-caja|name={{{Tema-caja}}}|property=border}} |
− | |titleforeground={{ | + | |titleforeground={{Tema-caja|name={{{Tema-caja}}}|property=titleforeground}} |
− | |titlebackground={{ | + | |titlebackground={{Tema-caja|name={{{Tema-caja}}}|property=titlebackgroundC6}} |
− | |background={{ | + | |background={{Tema-caja|name={{{Tema-caja}}}|property=backgroundC6}} |
− | |foreground={{ | + | |foreground={{Tema-caja|name={{{Tema-caja}}}|property=foreground}}}} |
{{{{NAMESPACE}}:{{PAGENAME}}/{{{Right box 1 title}}}}} | {{{{NAMESPACE}}:{{PAGENAME}}/{{{Right box 1 title}}}}} | ||
− | {{ | + | {{Pie-caja|}} |
</div> | </div> | ||
{{#if: {{{Right box 2 title|}}} |<div style="float:left; width:100%;"> | {{#if: {{{Right box 2 title|}}} |<div style="float:left; width:100%;"> | ||
− | {{ | + | {{Encabezado-caja|title=<big>{{{Right box 2 title}}}</big> |
|editpage={{NAMESPACE}}:{{PAGENAME}}/{{{Right box 2 title}}} | |editpage={{NAMESPACE}}:{{PAGENAME}}/{{{Right box 2 title}}} | ||
− | |border={{ | + | |border={{Tema-caja|name={{{Tema-caja}}}|property=border}} |
− | |titleforeground={{ | + | |titleforeground={{Tema-caja|name={{{Tema-caja}}}|property=titleforeground}} |
− | |titlebackground={{ | + | |titlebackground={{Tema-caja|name={{{Tema-caja}}}|property=titlebackgroundC7}} |
− | |background={{ | + | |background={{Tema-caja|name={{{Tema-caja}}}|property=backgroundC7}} |
− | |foreground={{ | + | |foreground={{Tema-caja|name={{{Tema-caja}}}|property=foreground}}}} |
{{{{NAMESPACE}}:{{PAGENAME}}/{{{Right box 2 title}}}}} | {{{{NAMESPACE}}:{{PAGENAME}}/{{{Right box 2 title}}}}} | ||
− | {{ | + | {{Pie-caja|}} |
</div> }} | </div> }} | ||
{{#if: {{{Right box 3 title|}}} |<div style="float:left; width:100%;"> | {{#if: {{{Right box 3 title|}}} |<div style="float:left; width:100%;"> | ||
− | {{ | + | {{Encabezado-caja|title=<big>{{{Right box 3 title}}}</big> |
|editpage={{NAMESPACE}}:{{PAGENAME}}/{{{Right box 3 title}}} | |editpage={{NAMESPACE}}:{{PAGENAME}}/{{{Right box 3 title}}} | ||
− | |border={{ | + | |border={{Tema-caja|name={{{Tema-caja}}}|property=border}} |
− | |titleforeground={{ | + | |titleforeground={{Tema-caja|name={{{Tema-caja}}}|property=titleforeground}} |
− | |titlebackground={{ | + | |titlebackground={{Tema-caja|name={{{Tema-caja}}}|property=titlebackgroundC8}} |
− | |background={{ | + | |background={{Tema-caja|name={{{Tema-caja}}}|property=backgroundC8}} |
− | |foreground={{ | + | |foreground={{Tema-caja|name={{{Tema-caja}}}|property=foreground}}}} |
{{{{NAMESPACE}}:{{PAGENAME}}/{{{Right box 3 title}}}}} | {{{{NAMESPACE}}:{{PAGENAME}}/{{{Right box 3 title}}}}} | ||
− | {{ | + | {{Pie-caja|}} |
</div> }} | </div> }} | ||
{{#if: {{{Right box 4 title|}}} |<div style="float:left; width:100%;"> | {{#if: {{{Right box 4 title|}}} |<div style="float:left; width:100%;"> | ||
− | {{ | + | {{Encabezado-caja|title=<big>{{{Right box 4 title}}}</big> |
|editpage={{NAMESPACE}}:{{PAGENAME}}/{{{Right box 4 title}}} | |editpage={{NAMESPACE}}:{{PAGENAME}}/{{{Right box 4 title}}} | ||
− | |border={{ | + | |border={{Tema-caja|name={{{Tema-caja}}}|property=border}} |
− | |titleforeground={{ | + | |titleforeground={{Tema-caja|name={{{Tema-caja}}}|property=titleforeground}} |
− | |titlebackground={{ | + | |titlebackground={{Tema-caja|name={{{Tema-caja}}}|property=titlebackgroundC9}} |
− | |background={{ | + | |background={{Tema-caja|name={{{Tema-caja}}}|property=backgroundC9}} |
− | |foreground={{ | + | |foreground={{Tema-caja|name={{{Tema-caja}}}|property=foreground}}}} |
{{{{NAMESPACE}}:{{PAGENAME}}/{{{Right box 4 title}}}}} | {{{{NAMESPACE}}:{{PAGENAME}}/{{{Right box 4 title}}}}} | ||
− | {{ | + | {{Pie-caja|}} |
</div>}} | </div>}} | ||
</td> | </td> | ||
Línea 109: | Línea 109: | ||
{{TEP}} | {{TEP}} | ||
+ | {{Traduccion}} | ||
+ | ==Original== | ||
+ | Esta página es una copia/traducción de la plantilla original: http://wikieducator.org/Template:Node_page y las subpáginas necesarias. | ||
+ | |||
==Overview== | ==Overview== | ||
Línea 124: | Línea 128: | ||
'''<nowiki>{{</nowiki>Node_page''' | '''<nowiki>{{</nowiki>Node_page''' | ||
− | '''| | + | '''|Tema-caja=default''' |
'''|Header box title=''' | '''|Header box title=''' | ||
Línea 150: | Línea 154: | ||
===Parameters=== | ===Parameters=== | ||
− | * ''' | + | * '''Tema-caja''' - required or template won't work. Use "default" (case sensitive) or: |
** "rainbow" (case sensitive) | ** "rainbow" (case sensitive) | ||
** "darkgreen" (case sensitive) | ** "darkgreen" (case sensitive) | ||
Línea 175: | Línea 179: | ||
<nowiki>{{</nowiki>Node_page | <nowiki>{{</nowiki>Node_page | ||
− | | | + | |Tema-caja=rainbow |
|Header box title=Our vision for header boxes | |Header box title=Our vision for header boxes | ||
Línea 203: | Línea 207: | ||
{{Node_page | {{Node_page | ||
− | | | + | |Tema-caja=rainbow |
|Header box title=Our vision for header boxes | |Header box title=Our vision for header boxes | ||
Línea 228: | Línea 232: | ||
==Developing additional themes for this template== | ==Developing additional themes for this template== | ||
− | WikiEducators are most welcome to design and implement a wide range of different themes. This will require an intermediate to advanced level of wiki editing, knowledge of templates and parsing and general web design, Current themes are specified here: [[:Template: | + | WikiEducators are most welcome to design and implement a wide range of different themes. This will require an intermediate to advanced level of wiki editing, knowledge of templates and parsing and general web design, Current themes are specified here: [[:Template:Tema-caja]]. If you design a new theme, please add this to the list above. |
==Thoughts for improving this template and supporting instructions== | ==Thoughts for improving this template and supporting instructions== | ||
− | * Implement a default theme, eg "default" in the event that the user omits to specify a parameter for " | + | * Implement a default theme, eg "default" in the event that the user omits to specify a parameter for "Tema-caja" |
− | * Develop a "gallery" of tables for this page which illustrate the colours for the " | + | * Develop a "gallery" of tables for this page which illustrate the colours for the "Tema-caja" parameter. |
</noinclude> | </noinclude> |
Última revisión de 20:18 22 jul 2011
Trabajo en proceso, espera cambios frecuentes. Tu ayuda y retroalimentación son bienvenidos. Ver página de charlas. |
Esta página requiere ser traducida al Español Tu ayuda y retroalimentación son bienvenidos. Por favor consulta la página del Equipo de Traducción. |
Contenido
Original
Esta página es una copia/traducción de la plantilla original: http://wikieducator.org/Template:Node_page y las subpáginas necesarias.
Overview
This template is designed to automate the creation of a portal node page in Wikieducator. It creates a Headerbox on top of the page which spans a two column layout for a maximum of four text boxes on the left-side and a maximum of four text boxes on the right side.
- The headerbox is optional
- The template will not work unless at least one left-hand box and one right-hand box is specified.
- The remaining 3 left-hand and 3 right-hand boxes are optional
- The template will automatically create subpages corresponding with the titles/names of the text boxes specified
Usage
Copy the following syntax for your proposed "portal page"
{{Node_page
|Tema-caja=default
|Header box title=
|Left column width=
|Left box 1 title=
|Left box 2 title=
|Left box 3 title=
|Left box 4 title=
|Right box 1 title=
|Right box 2 title=
|Right box 3 title=
|Right box 4 title=
}}
Parameters
- Tema-caja - required or template won't work. Use "default" (case sensitive) or:
- "rainbow" (case sensitive)
- "darkgreen" (case sensitive)
- "teal" (case sensitive)
- "sienna" (case sensitive)
- "mediumquamarine" (case sensitive)
- "dehub" (case sensitive)
The community may develop more supported themes and add them to this list.
- Header box title: Optional, type the title for the header box on the top of the page which will span the two columns. Use alpha numeric text for valid wiki page names.
- Left column width: Optional. Will default to 50:50. Use "40" to specify a left column width of 40% or "60" to specify a left-column width of 60%
- Left box 1 title: Required. Type the title for left box 1 which will appear on the top of the left-hand column. Use alpha numeric text for valid wiki page names.
- Left box 2 title: Optional. Type the title for left box 2 which will appear below left box 1 in the left-hand column. Use alpha numeric text for valid wiki page names.
- Left box 3 title: Optional. Type the title for left box 3 which will appear below left box 2 in the left-hand column. Use alpha numeric text for valid wiki page names.
- Left box 4 title: Optional. Type the title for left box 4 which will appear below left box 2 in the left-hand column. Use alpha numeric text for valid wiki page names.
- Right box 1 title: Required. Type the title for right box 1 which will appear on the top of the right-hand column. Use alpha numeric text for valid wiki page names.
- Right box 2 title: Required. Type the title for right box 2 which will appear below right box 1 in the right-hand column. Use alpha numeric text for valid wiki page names.
- Right box 3 title: Required. Type the title for right box 3 which will appear below right box 2 in the right-hand column. Use alpha numeric text for valid wiki page names.
- Right box 4 title: Required. Type the title for right box 4 which will appear below right box 3 in the right-hand column. Use alpha numeric text for valid wiki page names.
Example
The following syntax will produce the layout displayed below (Please do not edit the subpages by clicking on the red links as this is a demonstration page):
{{Node_page
|Tema-caja=rainbow
|Header box title=Our vision for header boxes
|Left column width=40
|Left box 1 title=My left box 1
|Left box 2 title=My left box 2
|Left box 3 title=My left box 3
|Left box 4 title=My left box 4
|Right box 1 title=Your right box 1
|Right box 2 title=Your right box 2
|Right box 3 title=Your right box 3
|Right box 4 title=Your right box 4
}}
Example
Developing additional themes for this template
WikiEducators are most welcome to design and implement a wide range of different themes. This will require an intermediate to advanced level of wiki editing, knowledge of templates and parsing and general web design, Current themes are specified here: Template:Tema-caja. If you design a new theme, please add this to the list above.
Thoughts for improving this template and supporting instructions
- Implement a default theme, eg "default" in the event that the user omits to specify a parameter for "Tema-caja"
- Develop a "gallery" of tables for this page which illustrate the colours for the "Tema-caja" parameter.