Difference between revisions of "Template:Article"

From edegan.com
Jump to navigation Jump to search
 
 
(One intermediate revision by the same user not shown)
Line 5: Line 5:
 
{{Article
 
{{Article
 
|Has page=
 
|Has page=
|Has title=
+
|Has bibtex key=
 +
|Has article title=
 
|Has author=
 
|Has author=
 
|Has year=
 
|Has year=
Line 16: Line 17:
 
</pre>
 
</pre>
 
Edit the page to see the template text.
 
Edit the page to see the template text.
</noinclude><includeonly>{| style="width: 30em; font-size: 90%; border: 1px solid #aaaaaa; background-color: #f9f9f9; color: black; margin-bottom: 0.5em; margin-left: 1em; padding: 0.2em; float: right; clear: right; text-align:left;"
 
! style="text-align: center; background-color:#ccccff;" colspan="2" |<span style="font-size: larger;">{{PAGENAME}}</span>
 
|-
 
! Has page
 
| [[Has page::{{{Has page|}}}]]
 
|-
 
! Has title
 
| [[Has title::{{{Has title|}}}]]
 
|-
 
! Has author
 
| {{#arraymap:{{{Has author|}}}|,|x|[[Has author::x]]}}
 
  
|-
+
This template uses [[Form:Article]] and puts pages into [[:Category:Article]]
! Has year
 
| [[Has year::{{{Has year|}}}]]
 
|-
 
! In journal
 
| [[In journal::{{{In journal|}}}]]
 
|-
 
! In volume
 
| [[In volume::{{{In volume|}}}]]
 
|-
 
! In number
 
| [[In number::{{{In number|}}}]]
 
|-
 
! Has pages
 
| [[Has pages::{{{Has pages|}}}]]
 
|-
 
! Has publisher
 
| [[Has publisher::{{{Has publisher|}}}]]
 
|}
 
  
 +
</noinclude><includeonly>
 +
{{Infobox
 +
| bodystyle  = width: 25em; background-color: #ffffff; border: 1px solid #a63c07;
 +
| headerstyle = background:#0d776e; color:#ffffff;
 +
| header1    = Article
 +
| labelstyle  = width: 33%;
 +
| label2      = Has bibtex key
 +
| data2      = [[Has bibtex key::{{{Has bibtex key|}}}]]
 +
| label3      = Has article title
 +
| data3      = [[Has article title::{{{Has article title|}}}]]
 +
| label4      = Has author
 +
| data4      = {{#arraymap:{{{Has author|}}}|,|x|[[Has author::x]]}}
 +
| label5      = Has year
 +
| data5      = [[Has year::{{{Has year|}}}]]
 +
| label6      = In journal
 +
| data6      = [[In journal::{{{In journal|}}}]]
 +
| label7      = In volume
 +
| data7      = [[In volume::{{{In volume|}}}]]
 +
| label8      = In number
 +
| data8      = [[In number::{{{In number|}}}]]
 +
| label9      = Has pages
 +
| data9      = [[Has pages::{{{Has pages|}}}]]
 +
| label10    = Has publisher
 +
| data10      = [[Has publisher::{{{Has publisher|}}}]]
 +
| belowstyle  = background:#ffffff;
 +
| below      = © edegan.com, 2016
 +
}}
 +
{{#set:
 +
Has page={{{Has page|}}}
 +
}}
 
[[Category:Article]]
 
[[Category:Article]]
 
</includeonly>
 
</includeonly>

Latest revision as of 19:07, 29 September 2020

This is the "Article" template. It should be called in the following format:

{{Article
|Has page=
|Has bibtex key=
|Has article title=
|Has author=
|Has year=
|In journal=
|In volume=
|In number=
|Has pages=
|Has publisher=
}}

Edit the page to see the template text.

This template uses Form:Article and puts pages into Category:Article