wml::std::logo(3)
π wml::std::logo β Logo Insertion π
okay bestie, welcome to wml::std::logo(3) from the EN Tools era β this is the little include that lets you drop logos into your WML pages and it's literally so easy. sit down, grab a strawberry π, let's get into it.
β¨ SYNOPSIS β¨
#use wml::std::logo
<logo [attributes]>
πΈ DESCRIPTION πΈ
This include file gives you the <logo> tag, and its whole entire job is inserting logo images. you pick which one you want with the name attribute. that's it. that's the vibe. π
here's the full roster of logos you can pull, with what they are and where they point:
apacheβ Apache Webserver Project βhttp://www.apache.org/freebsdβ FreeBSD Operating System βhttp://www.freebsd.org/gimpβ GNU Image Manipulation Program βhttp://www.gimp.org/linuxβ Linux Operating System βhttp://www.linux.org/netbsdβ NetBSD Operating System βhttp://www.netbsd.org/openbsdβ OpenBSD Operating System βhttp://www.openbsd.org/phpβ PHP Hypertext Preprocessor βhttp://www.php.net/vimβ Vi Improved Editor βhttp://www.vim.org/wmlβ Website META Language βhttps://www.shlomifish.org/open-source/projects/website-meta-language/
π ATTRIBUTES π
name
the name attribute is how you say which logo you want. valid names are the whole list up above β¬οΈ, and if you don't say anything, wml is the default. main character behavior honestly π
base
so normally the logos get copied into logo-xxxxxx.png, where xxxxxx is the name of the logo. but if you pass a base=foo attribute, the resulting files come out named foo.logo-xxxxxx.png. and ngl you can go even further β you can hand it a whole complete filename with a directory prefix. like, if you use base=../../common/foo, then the images get created as ../../common/foo.logo-xxxxxx.png. β¨
and for maximum flexibility: when no base is specified and the variable LOGO_BASE is defined β usually from inside a .wmlrc file via -LOGO_BASE~path/to/logo/dir/base β then that gets used instead. use this feature to copy the logos into a particular directory. π«Ά
you can also use the variable IMAGE_BASE, which defines all the base names for images generated by WML in a single line. one line, all the bases, iconic.
format
logos come in PNG or GIF. this attribute is literally just the filename extension of the format you want, so: png or gif. default is the png extension, and you can change that default via the IMAGE_FORMAT variable. π
file
this attribute defines the logo filename. it overrides all other computed values. no cap, it wins every argument. π
target
if you use the target attribute, it refers to a target frame or window where the hyperlink gets redirected to.
notag
this one forces <logo> to expand into absolutely nothing β so no resulting <img> tag. the image itself is still generated though, don't worry. and when you combine it with the file attribute above, you can generate images into particular files that you then use at other positions, like for instance inside <rollover> tags (peep wml::des::rollover(3)). π¦
π₯ EXAMPLE π₯
this example only copies the vim logo to $(IMAGES)/logo-vim.png and produces zero output. quiet. mysterious. slaying. π
<logo name=vim format=png base="$(IMAGES)/logo" notag>
π AUTHORS π
Ralf S. Engelschall rse@engelschall.com www.engelschall.com
Denis Barbier barbier@engelschall.com
π REQUIRES π
- Internal: P1, P2, P3
- External: --
β SEE ALSO β
and that's the whole page, bestie π this came out of the EN Tools era with a date of 2020-11-29 on it, so go forth and insert logos, you absolute icon. mwah π
π¦ where this page comes from
- debian bookworm: wml 2.32.0~ds1-1 Β· GPL-2.0-or-later
- debian trixie: wml 2.32.0~ds1-1 Β· GPL-2.0-or-later
- ubuntu jammy: wml 2.32.0~ds1-1 Β· GPL-2.0-or-later
- ubuntu noble: wml 2.32.0~ds1-1 Β· GPL-2.0-or-later
- ubuntu questing: wml 2.32.0~ds1-1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms