Discussion:
How to include a portion of a wiki page in another wiki page?
Kiss All
2005-01-03 04:55:19 UTC
Permalink
For example, we usually have a globle reference page composed of
individual references from REFERENCES sections of several individual
pages.

Could we write the globle reference page using something like

#include page1#REFERENCES
#include page2#REFERENCES
#include page3#REFERENCES
?

I checked metawiki's help. The current template may serve us somehow,
but too indirect.

It seems "INCLUDE" is not used in metawiki now. Maybe we can add it as
a special directive for this purpose.
--
Be good....
Ashar Voultoiz
2005-01-03 14:46:36 UTC
Permalink
Kiss All wrote:
| For example, we usually have a globle reference page composed of
| individual references from REFERENCES sections of several individual
| pages.
|
| Could we write the globle reference page using something like
|
| #include page1#REFERENCES
| #include page2#REFERENCES
| #include page3#REFERENCES
| ?
|
| I checked metawiki's help. The current template may serve us somehow,
| but too indirect.
|
| It seems "INCLUDE" is not used in metawiki now. Maybe we can add it as
| a special directive for this purpose.

Hello Kiss,

You can only include complete articles, by default from the "template"
namespace.

To include:
~ [[Template:City]] use {{city}}
~ [[Foobar]] use {{:Foobar}}
~ [[Wikipedia:Help]] use {{Wikipedia:Help}}

cheers,

- --
Ashar Voultoiz - WP++++
http://en.wikipedia.org/wiki/User:Hashar
Servers in trouble ? noc (at) wikimedia (dot) org
"This signature is a virus. Copy me in yours to spread it."

Continue reading on narkive:
Loading...